From: Michael Jeanson Date: Thu, 1 Dec 2022 18:32:33 +0000 (-0500) Subject: Split syscalls headers and tools X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=b03cf820f4aea4e37df6603ddd499c96e23d66fc Split syscalls headers and tools Move the syscall headers tooling out of the include/ directory. Change-Id: Icd507326aeac9cf28178f0e74b1d3f4812900303 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/instrumentation/syscalls/3.0.34/powerpc-32-syscalls b/include/instrumentation/syscalls/3.0.34/powerpc-32-syscalls deleted file mode 100644 index f951c7ad..00000000 --- a/include/instrumentation/syscalls/3.0.34/powerpc-32-syscalls +++ /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/include/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls b/include/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls deleted file mode 100644 index 130c1e3e..00000000 --- a/include/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls +++ /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/include/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls b/include/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls deleted file mode 100644 index 5db1a4f1..00000000 --- a/include/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls +++ /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/include/instrumentation/syscalls/3.13.0/mips-32-syscalls b/include/instrumentation/syscalls/3.13.0/mips-32-syscalls deleted file mode 100644 index e815a989..00000000 --- a/include/instrumentation/syscalls/3.13.0/mips-32-syscalls +++ /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/include/instrumentation/syscalls/3.18.0/mips-32-syscalls b/include/instrumentation/syscalls/3.18.0/mips-32-syscalls deleted file mode 100644 index d0b35a67..00000000 --- a/include/instrumentation/syscalls/3.18.0/mips-32-syscalls +++ /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/include/instrumentation/syscalls/3.4.25/arm-32-syscalls b/include/instrumentation/syscalls/3.4.25/arm-32-syscalls deleted file mode 100644 index 65c3973d..00000000 --- a/include/instrumentation/syscalls/3.4.25/arm-32-syscalls +++ /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/include/instrumentation/syscalls/3.5.0/mips-32-syscalls b/include/instrumentation/syscalls/3.5.0/mips-32-syscalls deleted file mode 100644 index 5b62cc7b..00000000 --- a/include/instrumentation/syscalls/3.5.0/mips-32-syscalls +++ /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/include/instrumentation/syscalls/3.5.0/mips-64-syscalls b/include/instrumentation/syscalls/3.5.0/mips-64-syscalls deleted file mode 100644 index 7753e06e..00000000 --- a/include/instrumentation/syscalls/3.5.0/mips-64-syscalls +++ /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/include/instrumentation/syscalls/4.4.0/arm-64-syscalls b/include/instrumentation/syscalls/4.4.0/arm-64-syscalls deleted file mode 100644 index 99360cee..00000000 --- a/include/instrumentation/syscalls/4.4.0/arm-64-syscalls +++ /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/include/instrumentation/syscalls/6.0.7/arm-32-syscalls b/include/instrumentation/syscalls/6.0.7/arm-32-syscalls deleted file mode 100644 index 42a81bf0..00000000 --- a/include/instrumentation/syscalls/6.0.7/arm-32-syscalls +++ /dev/null @@ -1,383 +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_fork nr 2 nbargs 0 types: () args: () -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_execve nr 11 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -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, whence) -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_sigaction nr 67 nbargs 3 types: (int, const struct old_sigaction *, struct old_sigaction *) args: (sig, act, oact) -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_sigsuspend nr 72 nbargs 3 types: (int, int, old_sigset_t) args: (unused1, unused2, mask) -syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (uset) -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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 79 nbargs 2 types: (struct __kernel_old_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_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 __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 105 nbargs 2 types: (int, struct __kernel_old_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_clone nr 120 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) -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_time32 nr 124 nbargs 1 types: (struct old_timex32 *) args: (utp) -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_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, whence) -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 __kernel_old_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_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_time32 nr 161 nbargs 2 types: (pid_t, struct old_timespec32 *) args: (pid, interval) -syscall sys_nanosleep_time32 nr 162 nbargs 2 types: (struct old_timespec32 *, struct old_timespec32 *) 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: (ruidp, euidp, suidp) -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: (rgidp, egidp, sgidp) -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: (uset, sigsetsize) -syscall sys_rt_sigtimedwait_time32 nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct old_timespec32 *, 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_pread64 nr 180 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_pwrite64 nr 181 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) -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_sigaltstack nr 186 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_vfork nr 190 nbargs 0 types: () args: () -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_truncate64 nr 193 nbargs 2 types: (const char *, loff_t) args: (path, length) -syscall sys_ftruncate64 nr 194 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) -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: (ruidp, euidp, suidp) -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: (rgidp, egidp, sgidp) -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_readahead nr 225 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) -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_time32 nr 240 nbargs 6 types: (u32 *, int, u32, const struct old_timespec32 *, 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_time32 nr 245 nbargs 5 types: (__u32, __s32, __s32, struct io_event *, struct old_timespec32 *) 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_settime32 nr 258 nbargs 4 types: (timer_t, int, struct old_itimerspec32 *, struct old_itimerspec32 *) args: (timer_id, flags, new, old) -syscall sys_timer_gettime32 nr 259 nbargs 2 types: (timer_t, struct old_itimerspec32 *) 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_settime32 nr 262 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_gettime32 nr 263 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_getres_time32 nr 264 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_nanosleep_time32 nr 265 nbargs 4 types: (clockid_t, int, struct old_timespec32 *, struct old_timespec32 *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_statfs64 nr 266 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) -syscall sys_fstatfs64 nr 267 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) -syscall sys_tgkill nr 268 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes_time32 nr 269 nbargs 2 types: (const char *, struct old_timeval32 *) args: (filename, t) -syscall sys_fadvise64_64 nr 270 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) -syscall sys_pciconfig_read nr 272 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) -syscall sys_pciconfig_write nr 273 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) -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_time32 nr 276 nbargs 5 types: (mqd_t, const char *, unsigned int, unsigned int, const struct old_timespec32 *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive_time32 nr 277 nbargs 5 types: (mqd_t, char *, unsigned int, unsigned int *, const struct old_timespec32 *) 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 int) args: (fd, buff, len, flags) -syscall sys_sendto nr 290 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_recv nr 291 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, ubuf, size, flags) -syscall sys_recvfrom nr 292 nbargs 6 types: (int, void *, size_t, unsigned int, 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 user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmsg nr 297 nbargs 3 types: (int, struct user_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_old_semctl nr 300 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) -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_old_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_old_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_time32 nr 312 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct old_timespec32 *) args: (semid, tsems, 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 int) 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_time32 nr 326 nbargs 3 types: (unsigned int, const char *, struct old_timeval32 *) args: (dfd, filename, t) -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_time32 nr 335 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct old_timespec32 *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll_time32 nr 336 nbargs 5 types: (struct pollfd *, unsigned int, struct old_timespec32 *, 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_sync_file_range2 nr 341 nbargs 4 types: (int, unsigned int, loff_t, loff_t) args: (fd, flags, offset, nbytes) -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, uiov, 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_kexec_load nr 347 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) -syscall sys_utimensat_time32 nr 348 nbargs 4 types: (unsigned int, const char *, struct old_timespec32 *, int) args: (dfd, filename, t, 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_fallocate nr 352 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) -syscall sys_timerfd_settime32 nr 353 nbargs 4 types: (int, int, const struct old_itimerspec32 *, struct old_itimerspec32 *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime32 nr 354 nbargs 2 types: (int, struct old_itimerspec32 *) 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_time32 nr 365 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct old_timespec32 *) 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_fanotify_mark nr 368 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) -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_adjtime32 nr 372 nbargs 2 types: (clockid_t, struct old_timex32 *) args: (which_clock, utp) -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, flags) -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) -syscall sys_kcmp nr 378 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) -syscall sys_finit_module nr 379 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) -syscall sys_sched_setattr nr 380 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) -syscall sys_sched_getattr nr 381 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) -syscall sys_renameat2 nr 382 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_seccomp nr 383 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) -syscall sys_getrandom nr 384 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) -syscall sys_memfd_create nr 385 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) -syscall sys_bpf nr 386 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) -syscall sys_execveat nr 387 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) -syscall sys_userfaultfd nr 388 nbargs 1 types: (int) args: (flags) -syscall sys_membarrier nr 389 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) -syscall sys_mlock2 nr 390 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_copy_file_range nr 391 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_preadv2 nr 392 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_pwritev2 nr 393 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_statx nr 397 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) -syscall sys_rseq nr 398 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) -syscall sys_io_pgetevents_time32 nr 399 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct old_timespec32 *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_clock_gettime nr 403 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_settime nr 404 nbargs 2 types: (const clockid_t, const struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_adjtime nr 405 nbargs 2 types: (const clockid_t, struct __kernel_timex *) args: (which_clock, utx) -syscall sys_clock_getres nr 406 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 407 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_timer_gettime nr 408 nbargs 2 types: (timer_t, struct __kernel_itimerspec *) args: (timer_id, setting) -syscall sys_timer_settime nr 409 nbargs 4 types: (timer_t, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timerfd_gettime nr 410 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) -syscall sys_timerfd_settime nr 411 nbargs 4 types: (int, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_utimensat nr 412 nbargs 4 types: (int, const char *, struct __kernel_timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_pselect6 nr 413 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 414 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_io_pgetevents nr 416 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_recvmmsg nr 417 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct __kernel_timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_mq_timedsend nr 418 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 419 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_semtimedop nr 420 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct __kernel_timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_rt_sigtimedwait nr 421 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct __kernel_timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_futex nr 422 nbargs 6 types: (u32 *, int, u32, const struct __kernel_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_rr_get_interval nr 423 nbargs 2 types: (pid_t, struct __kernel_timespec *) args: (pid, interval) -syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) -syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) -syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) -syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) -syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) -syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) -syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) -syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) -syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) -syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) -syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) -syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) -syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) -syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) -syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) -syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) -syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) -syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) -syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) -syscall sys_landlock_create_ruleset nr 444 nbargs 3 types: (const struct landlock_ruleset_attr *const, const size_t, const __u32) args: (attr, size, flags) -syscall sys_landlock_add_rule nr 445 nbargs 4 types: (const int, const enum landlock_rule_type, const void *const, const __u32) args: (ruleset_fd, rule_type, rule_attr, flags) -syscall sys_landlock_restrict_self nr 446 nbargs 2 types: (const int, const __u32) args: (ruleset_fd, flags) -syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) -syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) diff --git a/include/instrumentation/syscalls/6.0.7/arm-64-syscalls b/include/instrumentation/syscalls/6.0.7/arm-64-syscalls deleted file mode 100644 index 4fe0cb41..00000000 --- a/include/instrumentation/syscalls/6.0.7/arm-64-syscalls +++ /dev/null @@ -1,297 +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 __kernel_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_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 int) 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 __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 73 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_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, uiov, 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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 87 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) -syscall sys_utimensat nr 88 nbargs 4 types: (int, const char *, struct __kernel_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_arm64_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, const struct __kernel_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 __kernel_timespec *, struct __kernel_timespec *) args: (rqtp, rmtp) -syscall sys_getitimer nr 102 nbargs 2 types: (int, struct __kernel_old_itimerval *) args: (which, value) -syscall sys_setitimer nr 103 nbargs 3 types: (int, struct __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) -syscall sys_kexec_load nr 104 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) -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 __kernel_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 __kernel_itimerspec *, struct __kernel_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 __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 113 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 114 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 115 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_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 __kernel_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 __kernel_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_rt_sigreturn nr 139 nbargs 0 types: () args: () -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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 170 nbargs 2 types: (struct __kernel_old_timeval *, struct timezone *) args: (tv, tz) -syscall sys_adjtimex nr 171 nbargs 1 types: (struct __kernel_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 __kernel_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 __kernel_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 int, const struct __kernel_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_clone nr 220 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) -syscall sys_execve nr 221 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -syscall sys_mmap nr 222 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, off) -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_mbind nr 235 nbargs 6 types: (unsigned long, unsigned long, unsigned long, const unsigned long *, unsigned long, unsigned int) args: (start, len, mode, nmask, maxnode, flags) -syscall sys_get_mempolicy nr 236 nbargs 5 types: (int *, unsigned long *, unsigned long, unsigned long, unsigned long) args: (policy, nmask, maxnode, addr, flags) -syscall sys_set_mempolicy nr 237 nbargs 3 types: (int, const unsigned long *, unsigned long) args: (mode, nmask, maxnode) -syscall sys_migrate_pages nr 238 nbargs 4 types: (pid_t, unsigned long, const unsigned long *, const unsigned long *) args: (pid, maxnode, old_nodes, new_nodes) -syscall sys_move_pages nr 239 nbargs 6 types: (pid_t, unsigned long, const void * *, const int *, int *, int) args: (pid, nr_pages, pages, nodes, status, 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 __kernel_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 __kernel_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, flags) -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_kcmp nr 272 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) -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, usize, 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, void *) args: (op, flags, uargs) -syscall sys_getrandom nr 278 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) -syscall sys_memfd_create nr 279 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) -syscall sys_bpf nr 280 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) -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_userfaultfd nr 282 nbargs 1 types: (int) args: (flags) -syscall sys_membarrier nr 283 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) -syscall sys_mlock2 nr 284 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_copy_file_range nr 285 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_preadv2 nr 286 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_pwritev2 nr 287 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_statx nr 291 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) -syscall sys_io_pgetevents nr 292 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_rseq nr 293 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) -syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) -syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) -syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) -syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) -syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) -syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) -syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) -syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) -syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) -syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) -syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) -syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) -syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) -syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) -syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) -syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) -syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) -syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) -syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) -syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) -syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) -syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) -syscall sys_set_mempolicy_home_node nr 450 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (start, len, home_node, flags) diff --git a/include/instrumentation/syscalls/6.0.7/x86-32-syscalls b/include/instrumentation/syscalls/6.0.7/x86-32-syscalls deleted file mode 100644 index 6016f06a..00000000 --- a/include/instrumentation/syscalls/6.0.7/x86-32-syscalls +++ /dev/null @@ -1,405 +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_fork nr 2 nbargs 0 types: () args: () -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_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 *, 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_execve nr 11 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) -syscall sys_time32 nr 13 nbargs 1 types: (old_time32_t *) args: (tloc) -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_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, whence) -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_stime32 nr 25 nbargs 1 types: (old_time32_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_utime32 nr 30 nbargs 2 types: (const char *, struct old_utimbuf32 *) args: (filename, t) -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_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_sigaction nr 67 nbargs 3 types: (int, const struct old_sigaction *, struct old_sigaction *) args: (sig, act, oact) -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_sigsuspend nr 72 nbargs 3 types: (int, int, old_sigset_t) args: (unused1, unused2, mask) -syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (uset) -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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 79 nbargs 2 types: (struct __kernel_old_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, 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_ioperm nr 101 nbargs 3 types: (unsigned long, unsigned long, int) args: (from, num, turn_on) -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 __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 105 nbargs 2 types: (int, struct __kernel_old_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_iopl nr 110 nbargs 1 types: (unsigned int) args: (level) -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_sigreturn nr 119 nbargs 0 types: () args: () -syscall sys_clone nr 120 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) -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_modify_ldt nr 123 nbargs 3 types: (int, void *, unsigned long) args: (func, ptr, bytecount) -syscall sys_adjtimex_time32 nr 124 nbargs 1 types: (struct old_timex32 *) args: (utp) -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_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, whence) -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 __kernel_old_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_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_time32 nr 161 nbargs 2 types: (pid_t, struct old_timespec32 *) args: (pid, interval) -syscall sys_nanosleep_time32 nr 162 nbargs 2 types: (struct old_timespec32 *, struct old_timespec32 *) 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: (ruidp, euidp, suidp) -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: (rgidp, egidp, sgidp) -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_sigreturn nr 173 nbargs 0 types: () args: () -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: (uset, sigsetsize) -syscall sys_rt_sigtimedwait_time32 nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct old_timespec32 *, 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_ia32_pread64 nr 180 nbargs 5 types: (unsigned int, char *, u32, u32, u32) args: (fd, ubuf, count, poslo, poshi) -syscall sys_ia32_pwrite64 nr 181 nbargs 5 types: (unsigned int, const char *, u32, u32, u32) args: (fd, ubuf, count, poslo, poshi) -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_sigaltstack nr 186 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_vfork nr 190 nbargs 0 types: () args: () -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_ia32_truncate64 nr 193 nbargs 3 types: (const char *, unsigned long, unsigned long) args: (filename, offset_low, offset_high) -syscall sys_ia32_ftruncate64 nr 194 nbargs 3 types: (unsigned int, unsigned long, unsigned long) args: (fd, offset_low, offset_high) -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: (ruidp, euidp, suidp) -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: (rgidp, egidp, sgidp) -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_ia32_readahead nr 225 nbargs 4 types: (int, unsigned int, unsigned int, size_t) args: (fd, off_lo, off_hi, count) -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_time32 nr 240 nbargs 6 types: (u32 *, int, u32, const struct old_timespec32 *, 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_set_thread_area nr 243 nbargs 1 types: (struct user_desc *) args: (u_info) -syscall sys_get_thread_area nr 244 nbargs 1 types: (struct user_desc *) args: (u_info) -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_time32 nr 247 nbargs 5 types: (__u32, __s32, __s32, struct io_event *, struct old_timespec32 *) 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_ia32_fadvise64 nr 250 nbargs 5 types: (int, unsigned int, unsigned int, size_t, int) args: (fd, offset_lo, offset_hi, len, advice) -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_settime32 nr 260 nbargs 4 types: (timer_t, int, struct old_itimerspec32 *, struct old_itimerspec32 *) args: (timer_id, flags, new, old) -syscall sys_timer_gettime32 nr 261 nbargs 2 types: (timer_t, struct old_itimerspec32 *) 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_settime32 nr 264 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_gettime32 nr 265 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_getres_time32 nr 266 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) -syscall sys_clock_nanosleep_time32 nr 267 nbargs 4 types: (clockid_t, int, struct old_timespec32 *, struct old_timespec32 *) 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_time32 nr 271 nbargs 2 types: (const char *, struct old_timeval32 *) args: (filename, t) -syscall sys_ia32_fadvise64_64 nr 272 nbargs 6 types: (int, __u32, __u32, __u32, __u32, int) args: (fd, offset_low, offset_high, len_low, len_high, advice) -syscall sys_mq_open nr 277 nbargs 4 types: (const char *, int, umode_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_time32 nr 279 nbargs 5 types: (mqd_t, const char *, unsigned int, unsigned int, const struct old_timespec32 *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive_time32 nr 280 nbargs 5 types: (mqd_t, char *, unsigned int, unsigned int *, const struct old_timespec32 *) 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, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 296 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 297 nbargs 4 types: (int, const char *, umode_t, unsigned int) 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_time32 nr 299 nbargs 3 types: (unsigned int, const char *, struct old_timeval32 *) args: (dfd, filename, t) -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 *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 307 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6_time32 nr 308 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct old_timespec32 *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll_time32 nr 309 nbargs 5 types: (struct pollfd *, unsigned int, struct old_timespec32 *, 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_ia32_sync_file_range nr 314 nbargs 6 types: (int, unsigned int, unsigned int, unsigned int, unsigned int, int) args: (fd, off_low, off_hi, n_low, n_hi, 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, uiov, 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_time32 nr 320 nbargs 4 types: (unsigned int, const char *, struct old_timespec32 *, int) args: (dfd, filename, t, 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_ia32_fallocate nr 324 nbargs 6 types: (int, int, unsigned int, unsigned int, unsigned int, unsigned int) args: (fd, mode, offset_lo, offset_hi, len_lo, len_hi) -syscall sys_timerfd_settime32 nr 325 nbargs 4 types: (int, int, const struct old_itimerspec32 *, struct old_itimerspec32 *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime32 nr 326 nbargs 2 types: (int, struct old_itimerspec32 *) 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_time32 nr 337 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct old_timespec32 *) 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_fanotify_mark nr 339 nbargs 6 types: (int, unsigned int, u32, u32, int, const char *) args: (fanotify_fd, flags, mask_lo, mask_hi, dfd, pathname) -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_name_to_handle_at nr 341 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 342 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime32 nr 343 nbargs 2 types: (clockid_t, struct old_timex32 *) args: (which_clock, utp) -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, flags) -syscall sys_process_vm_readv nr 347 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 348 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_kcmp nr 349 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) -syscall sys_finit_module nr 350 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) -syscall sys_sched_setattr nr 351 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) -syscall sys_sched_getattr nr 352 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) -syscall sys_renameat2 nr 353 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_seccomp nr 354 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) -syscall sys_getrandom nr 355 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) -syscall sys_memfd_create nr 356 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) -syscall sys_bpf nr 357 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) -syscall sys_execveat nr 358 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) -syscall sys_socket nr 359 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_socketpair nr 360 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_bind nr 361 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 362 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_listen nr 363 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_accept4 nr 364 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_getsockopt nr 365 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_setsockopt nr 366 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_getsockname nr 367 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 368 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_sendto nr 369 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_sendmsg nr 370 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvfrom nr 371 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_recvmsg nr 372 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_shutdown nr 373 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_userfaultfd nr 374 nbargs 1 types: (int) args: (flags) -syscall sys_membarrier nr 375 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) -syscall sys_mlock2 nr 376 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_copy_file_range nr 377 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_preadv2 nr 378 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_pwritev2 nr 379 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_statx nr 383 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) -syscall sys_arch_prctl nr 384 nbargs 2 types: (int, unsigned long) args: (option, arg2) -syscall sys_io_pgetevents_time32 nr 385 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct old_timespec32 *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_rseq nr 386 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) -syscall sys_semget nr 393 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) -syscall sys_semctl nr 394 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) -syscall sys_shmget nr 395 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) -syscall sys_shmctl nr 396 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) -syscall sys_shmat nr 397 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) -syscall sys_shmdt nr 398 nbargs 1 types: (char *) args: (shmaddr) -syscall sys_msgget nr 399 nbargs 2 types: (key_t, int) args: (key, msgflg) -syscall sys_msgsnd nr 400 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_msgrcv nr 401 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_msgctl nr 402 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) -syscall sys_clock_gettime nr 403 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_settime nr 404 nbargs 2 types: (const clockid_t, const struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_adjtime nr 405 nbargs 2 types: (const clockid_t, struct __kernel_timex *) args: (which_clock, utx) -syscall sys_clock_getres nr 406 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 407 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_timer_gettime nr 408 nbargs 2 types: (timer_t, struct __kernel_itimerspec *) args: (timer_id, setting) -syscall sys_timer_settime nr 409 nbargs 4 types: (timer_t, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timerfd_gettime nr 410 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) -syscall sys_timerfd_settime nr 411 nbargs 4 types: (int, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_utimensat nr 412 nbargs 4 types: (int, const char *, struct __kernel_timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_pselect6 nr 413 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 414 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_io_pgetevents nr 416 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_recvmmsg nr 417 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct __kernel_timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_mq_timedsend nr 418 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 419 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_semtimedop nr 420 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct __kernel_timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_rt_sigtimedwait nr 421 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct __kernel_timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_futex nr 422 nbargs 6 types: (u32 *, int, u32, const struct __kernel_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_rr_get_interval nr 423 nbargs 2 types: (pid_t, struct __kernel_timespec *) args: (pid, interval) -syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) -syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) -syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) -syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) -syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) -syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) -syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) -syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) -syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) -syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) -syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) -syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) -syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) -syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) -syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) -syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) -syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) -syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) -syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) -syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) -syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) -syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) diff --git a/include/instrumentation/syscalls/6.0.7/x86-64-syscalls b/include/instrumentation/syscalls/6.0.7/x86-64-syscalls deleted file mode 100644 index 2841ea03..00000000 --- a/include/instrumentation/syscalls/6.0.7/x86-64-syscalls +++ /dev/null @@ -1,342 +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_rt_sigreturn nr 15 nbargs 0 types: () args: () -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 __kernel_old_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 __kernel_timespec *, struct __kernel_timespec *) args: (rqtp, rmtp) -syscall sys_getitimer nr 36 nbargs 2 types: (int, struct __kernel_old_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 __kernel_old_itimerval *, struct __kernel_old_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 user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmsg nr 47 nbargs 3 types: (int, struct user_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_clone nr 56 nbargs 5 types: (unsigned long, unsigned long, int *, int *, unsigned long) args: (clone_flags, newsp, parent_tidptr, child_tidptr, tls) -syscall sys_fork nr 57 nbargs 0 types: () args: () -syscall sys_vfork nr 58 nbargs 0 types: () args: () -syscall sys_execve nr 59 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -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 __kernel_old_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 __kernel_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 __kernel_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_modify_ldt nr 154 nbargs 3 types: (int, void *, unsigned long) args: (func, ptr, bytecount) -syscall sys_pivot_root nr 155 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -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_arch_prctl nr 158 nbargs 2 types: (int, unsigned long) args: (option, arg2) -syscall sys_adjtimex nr 159 nbargs 1 types: (struct __kernel_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 __kernel_old_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_iopl nr 172 nbargs 1 types: (unsigned int) args: (level) -syscall sys_ioperm nr 173 nbargs 3 types: (unsigned long, unsigned long, int) args: (from, num, turn_on) -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: (__kernel_old_time_t *) args: (tloc) -syscall sys_futex nr 202 nbargs 6 types: (u32 *, int, u32, const struct __kernel_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 __kernel_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_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 int, const struct __kernel_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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 224 nbargs 2 types: (timer_t, struct __kernel_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 __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 228 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 229 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 230 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_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 __kernel_old_timeval *) args: (filename, utimes) -syscall sys_mbind nr 237 nbargs 6 types: (unsigned long, unsigned long, unsigned long, const unsigned long *, unsigned long, unsigned int) args: (start, len, mode, nmask, maxnode, flags) -syscall sys_set_mempolicy nr 238 nbargs 3 types: (int, const 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 __kernel_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 __kernel_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 int) 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 __kernel_old_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 __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 271 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_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, uiov, 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 __kernel_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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 287 nbargs 2 types: (int, struct __kernel_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 __kernel_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 __kernel_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, flags) -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_kcmp nr 312 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) -syscall sys_finit_module nr 313 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) -syscall sys_sched_setattr nr 314 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) -syscall sys_sched_getattr nr 315 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) -syscall sys_renameat2 nr 316 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_seccomp nr 317 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) -syscall sys_getrandom nr 318 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) -syscall sys_memfd_create nr 319 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) -syscall sys_kexec_file_load nr 320 nbargs 5 types: (int, int, unsigned long, const char *, unsigned long) args: (kernel_fd, initrd_fd, cmdline_len, cmdline_ptr, flags) -syscall sys_bpf nr 321 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) -syscall sys_execveat nr 322 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) -syscall sys_userfaultfd nr 323 nbargs 1 types: (int) args: (flags) -syscall sys_membarrier nr 324 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) -syscall sys_mlock2 nr 325 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_copy_file_range nr 326 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_preadv2 nr 327 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_pwritev2 nr 328 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) -syscall sys_pkey_mprotect nr 329 nbargs 4 types: (unsigned long, size_t, unsigned long, int) args: (start, len, prot, pkey) -syscall sys_pkey_alloc nr 330 nbargs 2 types: (unsigned long, unsigned long) args: (flags, init_val) -syscall sys_pkey_free nr 331 nbargs 1 types: (int) args: (pkey) -syscall sys_statx nr 332 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) -syscall sys_io_pgetevents nr 333 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) -syscall sys_rseq nr 334 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) -syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) -syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) -syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) -syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) -syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) -syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) -syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) -syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) -syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) -syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) -syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) -syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) -syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) -syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) -syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) -syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) -syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) -syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) -syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) -syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) -syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) -syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) -syscall sys_set_mempolicy_home_node nr 450 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (start, len, home_node, flags) diff --git a/include/instrumentation/syscalls/README b/include/instrumentation/syscalls/README deleted file mode 100644 index 6dbc640e..00000000 --- a/include/instrumentation/syscalls/README +++ /dev/null @@ -1,33 +0,0 @@ -LTTng system call tracing - -1) lttng-syscall-extractor - -You need to build a kernel with CONFIG_FTRACE_SYSCALLS=y and -CONFIG_KALLSYMS_ALL=y for extraction. Apply the linker patch to get your -kernel to keep the system call metadata after boot. Then build and load -the LTTng syscall extractor module. The module will fail to load (this -is expected). See the dmesg output for system call metadata. - -2) Generate system call TRACE_EVENT(). - -Take the dmesg data and feed it to lttng-syscalls-generate-headers.sh from -the instrumentation/syscalls directory. See the script header for usage -example. It should be run for both the integers and pointers types. - -After these are created, you just need to follow the new system call additions, -no need to regenerate the whole thing, since system calls are only appended to. - -3) Override headers - -You need to provide override headers (even if they don't contain -overrides) for each architecture. Those are meant to contain manual -overrides for specific system calls for cases where the script do not -generate the correct typing for specific system calls. - -4) Integrating the new architecture, updating architecture header - -Edit instrumentation/syscalls/headers/syscalls_integers.h and -syscalls_pointers.h. Add the new architecture -(e.g. CONFIG_X86_64) to the newly-generated headers -(e.g. changing the current x86-64-syscalls-3.10.0-rc7_.h into -x86-64-syscalls-3.13.7_.h), then rebuild lttng-modules. diff --git a/include/instrumentation/syscalls/arm-32-syscalls_integers.h b/include/instrumentation/syscalls/arm-32-syscalls_integers.h new file mode 100644 index 00000000..44847ea8 --- /dev/null +++ b/include/instrumentation/syscalls/arm-32-syscalls_integers.h @@ -0,0 +1,1410 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 6.0.7 */ + +#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_fork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) +#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_vfork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) +#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_fork +SC_LTTNG_TRACEPOINT_EVENT(fork, + 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_vfork +SC_LTTNG_TRACEPOINT_EVENT(vfork, + 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_userfaultfd +SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) +) +#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_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_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_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(loff_t, length, length))) +) +#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 flags), + TP_ARGS(sc_exit(ret,) fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pidfd_open +SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_landlock_restrict_self +SC_LTTNG_TRACEPOINT_EVENT(landlock_restrict_self, + TP_PROTO(sc_exit(long ret,) const int ruleset_fd, const __u32 flags), + TP_ARGS(sc_exit(ret,) ruleset_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const __u32, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_process_mrelease +SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, + TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#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_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), + TP_ARGS(sc_exit(ret,) unused1, unused2, mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) +) +#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_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_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_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_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), + TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) +) +#endif +#ifndef OVERRIDE_32_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_32_fsmount +SC_LTTNG_TRACEPOINT_EVENT(fsmount, + TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), + TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) +) +#endif +#ifndef OVERRIDE_32_close_range +SC_LTTNG_TRACEPOINT_EVENT(close_range, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, max_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pidfd_getfd +SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, + TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)) sc_in(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_32_old_semctl +SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(int, semnum, semnum)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_sync_file_range2 +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int flags, loff_t offset, loff_t nbytes), + TP_ARGS(sc_exit(ret,) fd, flags, offset, nbytes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, nbytes, nbytes))) +) +#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_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_kcmp +SC_LTTNG_TRACEPOINT_EVENT(kcmp, + TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), + TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) +) +#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 "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_fork +TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 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_vfork +TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 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_fork +TRACE_SYSCALL_TABLE(fork, fork, 2, 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_vfork +TRACE_SYSCALL_TABLE(vfork, vfork, 190, 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_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) +#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_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_ftruncate64 +TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 194, 2) +#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_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 225, 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_fadvise64_64 +TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 270, 4) +#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_old_semctl +TRACE_SYSCALL_TABLE(old_semctl, old_semctl, 300, 4) +#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_sync_file_range2 +TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4) +#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_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 352, 4) +#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 +#ifndef OVERRIDE_TABLE_32_kcmp +TRACE_SYSCALL_TABLE(kcmp, kcmp, 378, 5) +#endif +#ifndef OVERRIDE_TABLE_32_userfaultfd +TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 388, 1) +#endif +#ifndef OVERRIDE_TABLE_32_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 389, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 390, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsmount +TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_open +TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) +#endif +#ifndef OVERRIDE_TABLE_32_close_range +TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_getfd +TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) +#endif +#ifndef OVERRIDE_TABLE_32_landlock_restrict_self +TRACE_SYSCALL_TABLE(landlock_restrict_self, landlock_restrict_self, 446, 2) +#endif +#ifndef OVERRIDE_TABLE_32_process_mrelease +TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/arm-32-syscalls_integers_override.h b/include/instrumentation/syscalls/arm-32-syscalls_integers_override.h new file mode 100644 index 00000000..4dfbdebf --- /dev/null +++ b/include/instrumentation/syscalls/arm-32-syscalls_integers_override.h @@ -0,0 +1,143 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/arm-32-syscalls_pointers.h b/include/instrumentation/syscalls/arm-32-syscalls_pointers.h new file mode 100644 index 00000000..5f4ca5b1 --- /dev/null +++ b/include/instrumentation/syscalls/arm-32-syscalls_pointers.h @@ -0,0 +1,2599 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 6.0.7 */ + +#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 * uset), + TP_ARGS(sc_exit(ret,) uset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, uset, uset))) +) +#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_time32 +SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32, + TP_PROTO(sc_exit(long ret,) struct old_timex32 * utp), + TP_ARGS(sc_exit(ret,) utp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) +) +#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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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_time32 +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct old_timespec32 * 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 old_timespec32 *, interval, interval))) +) +#endif +#ifndef OVERRIDE_32_nanosleep_time32 +SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32, + TP_PROTO(sc_exit(long ret,) struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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_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_in(ctf_user_string(path, path)) sc_in(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_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_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct old_itimerspec32 * 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 old_itimerspec32 *, setting, setting))) +) +#endif +#ifndef OVERRIDE_32_clock_settime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_settime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_getres_time32 +SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_utimes_time32 +SC_LTTNG_TRACEPOINT_EVENT(utimes_time32, + TP_PROTO(sc_exit(long ret,) const char * filename, struct old_timeval32 * t), + TP_ARGS(sc_exit(ret,) filename, t), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) +) +#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_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32, + TP_PROTO(sc_exit(long ret,) int ufd, struct old_itimerspec32 * 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 old_itimerspec32 *, 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_adjtime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timex32 * utp), + TP_ARGS(sc_exit(ret,) which_clock, utp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) +) +#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_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) +) +#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 __kernel_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 __kernel_timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timex *, utx, utx))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct __kernel_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 __kernel_itimerspec *, setting, setting))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct __kernel_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 __kernel_itimerspec *, otmr, otmr))) +) +#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 __kernel_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 __kernel_timespec *, interval, interval))) +) +#endif +#ifndef OVERRIDE_32_io_uring_setup +SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, + TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), + TP_ARGS(sc_exit(ret,) entries, params), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) +) +#endif +#ifndef OVERRIDE_32_fsopen +SC_LTTNG_TRACEPOINT_EVENT(fsopen, + TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), + TP_ARGS(sc_exit(ret,) _fs_name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clone3 +SC_LTTNG_TRACEPOINT_EVENT(clone3, + TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), + TP_ARGS(sc_exit(ret,) uargs, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) +) +#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_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_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_sigaction +SC_LTTNG_TRACEPOINT_EVENT(sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct old_sigaction * act, struct old_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 old_sigaction *, act, act)) sc_inout(ctf_integer(struct old_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_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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 * ruidp, old_uid_t * euidp, old_uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruidp, ruidp)) sc_inout(ctf_integer(old_uid_t *, euidp, euidp)) sc_inout(ctf_integer(old_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_getresgid16 +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgidp, rgidp)) sc_inout(ctf_integer(old_gid_t *, egidp, egidp)) sc_inout(ctf_integer(old_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_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 * 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_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_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_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 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_32_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_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_old_msgctl +SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, msqid, msqid)) sc_inout(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_old_shmctl +SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, shmid, shmid)) sc_inout(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_time32 +SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32, + TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timeval32 * t), + TP_ARGS(sc_exit(ret,) dfd, filename, t), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) +) +#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, void * 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(void *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_32_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) ubuf, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_bpf +SC_LTTNG_TRACEPOINT_EVENT(bpf, + TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), + TP_ARGS(sc_exit(ret,) cmd, uattr, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) +) +#endif +#ifndef OVERRIDE_32_open_tree +SC_LTTNG_TRACEPOINT_EVENT(open_tree, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), + TP_ARGS(sc_exit(ret,) dfd, filename, flags), + 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(unsigned, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fspick +SC_LTTNG_TRACEPOINT_EVENT(fspick, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), + TP_ARGS(sc_exit(ret,) dfd, path, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_landlock_create_ruleset +SC_LTTNG_TRACEPOINT_EVENT(landlock_create_ruleset, + TP_PROTO(sc_exit(long ret,) const struct landlock_ruleset_attr *const attr, const size_t size, const __u32 flags), + TP_ARGS(sc_exit(ret,) attr, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const struct landlock_ruleset_attr *const, attr, attr)) sc_inout(ctf_integer(const size_t, size, size)) sc_inout(ctf_integer(const __u32, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct old_timespec32 * 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 old_timespec32 *, 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_settime32 +SC_LTTNG_TRACEPOINT_EVENT(timer_settime32, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, struct old_itimerspec32 * new, struct old_itimerspec32 * old), + TP_ARGS(sc_exit(ret,) timer_id, flags, new, old), + 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(struct old_itimerspec32 *, new, new)) sc_out(ctf_integer(struct old_itimerspec32 *, old, old))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep_time32 +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, int flags, struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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 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_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_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_time32 +SC_LTTNG_TRACEPOINT_EVENT(semtimedop_time32, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsems, unsigned int nsops, const struct old_timespec32 * timeout), + TP_ARGS(sc_exit(ret,) semid, tsems, nsops, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(struct sembuf *, tsems, tsems)) sc_inout(ctf_integer(unsigned int, nsops, nsops)) sc_inout(ctf_integer(const struct old_timespec32 *, 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#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_utimensat_time32 +SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32, + TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timespec32 * t, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, t, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timespec32 *, t, t)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime32 +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct old_itimerspec32 * utmr, struct old_itimerspec32 * 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 old_itimerspec32 *, utmr, utmr)) sc_out(ctf_integer(struct old_itimerspec32 *, 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 usize, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_rseq +SC_LTTNG_TRACEPOINT_EVENT(rseq, + TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), + TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) +) +#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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) +) +#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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_itimerspec *, old_setting, old_setting))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout))) +) +#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 __kernel_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 __kernel_timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_pidfd_send_signal +SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, + TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_io_uring_register +SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), + TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) +) +#endif +#ifndef OVERRIDE_32_openat2 +SC_LTTNG_TRACEPOINT_EVENT(openat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), + 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_32_faccessat2 +SC_LTTNG_TRACEPOINT_EVENT(faccessat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), + 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_quotactl_fd +SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), + 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_32_landlock_add_rule +SC_LTTNG_TRACEPOINT_EVENT(landlock_add_rule, + TP_PROTO(sc_exit(long ret,) const int ruleset_fd, const enum landlock_rule_type rule_type, const void *const rule_attr, const __u32 flags), + TP_ARGS(sc_exit(ret,) ruleset_fd, rule_type, rule_attr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const enum landlock_rule_type, rule_type, rule_type)) sc_inout(ctf_integer(const void *const, rule_attr, rule_attr)) sc_inout(ctf_integer(const __u32, 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_clone +SC_LTTNG_TRACEPOINT_EVENT(clone, + TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), + TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) +) +#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 __kernel_old_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 __kernel_old_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_time32 +SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32, + TP_PROTO(sc_exit(long ret,) __u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event * events, struct old_timespec32 * 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(__u32, ctx_id, ctx_id)) sc_in(ctf_integer(__s32, min_nr, min_nr)) sc_in(ctf_integer(__s32, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout))) +) +#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_mq_timedsend_time32 +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, u_abs_timeout, u_abs_timeout))) +) +#endif +#ifndef OVERRIDE_32_mq_timedreceive_time32 +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, unsigned int msg_len, unsigned int * u_msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct old_timespec32 * 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 old_timespec32 *, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 * 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 old_timespec32 *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_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_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_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_32_statx +SC_LTTNG_TRACEPOINT_EVENT(statx, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), + 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, u_abs_timeout, u_abs_timeout))) +) +#endif +#ifndef OVERRIDE_32_move_mount +SC_LTTNG_TRACEPOINT_EVENT(move_mount, + TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), + TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fsconfig +SC_LTTNG_TRACEPOINT_EVENT(fsconfig, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), + TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) +) +#endif +#ifndef OVERRIDE_32_process_madvise +SC_LTTNG_TRACEPOINT_EVENT(process_madvise, + TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mount_setattr +SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_32_futex_waitv +SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, + TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), + TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) +) +#endif +#ifndef OVERRIDE_32_futex_time32 +SC_LTTNG_TRACEPOINT_EVENT(futex_time32, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct old_timespec32 * 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(const struct old_timespec32 *, 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 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_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_pselect6_time32 +SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct old_timespec32 * 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 old_timespec32 *, 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 +#ifndef OVERRIDE_32_copy_file_range +SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, + 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_preadv2 +SC_LTTNG_TRACEPOINT_EVENT(preadv2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pwritev2 +SC_LTTNG_TRACEPOINT_EVENT(pwritev2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_io_pgetevents_time32 +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct old_timespec32 * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#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 __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_io_pgetevents +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct __kernel_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(const struct __kernel_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) +) +#endif +#ifndef OVERRIDE_32_io_uring_enter +SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, + TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), + TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait2 +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#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_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#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_sigaction +TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3) +#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_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_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) +#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_time32 +TRACE_SYSCALL_TABLE(adjtimex_time32, adjtimex_time32, 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_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_time32 +TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32, sched_rr_get_interval_time32, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep_time32 +TRACE_SYSCALL_TABLE(nanosleep_time32, nanosleep_time32, 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_time32 +TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32, rt_sigtimedwait_time32, 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_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 180, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 181, 4) +#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_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 186, 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_truncate64 +TRACE_SYSCALL_TABLE(truncate64, truncate64, 193, 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_time32 +TRACE_SYSCALL_TABLE(futex_time32, futex_time32, 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_time32 +TRACE_SYSCALL_TABLE(io_getevents_time32, io_getevents_time32, 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_settime32 +TRACE_SYSCALL_TABLE(timer_settime32, timer_settime32, 258, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime32 +TRACE_SYSCALL_TABLE(timer_gettime32, timer_gettime32, 259, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime32 +TRACE_SYSCALL_TABLE(clock_settime32, clock_settime32, 262, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime32 +TRACE_SYSCALL_TABLE(clock_gettime32, clock_gettime32, 263, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres_time32 +TRACE_SYSCALL_TABLE(clock_getres_time32, clock_getres_time32, 264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32 +TRACE_SYSCALL_TABLE(clock_nanosleep_time32, clock_nanosleep_time32, 265, 4) +#endif +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 266, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 267, 3) +#endif +#ifndef OVERRIDE_TABLE_32_utimes_time32 +TRACE_SYSCALL_TABLE(utimes_time32, utimes_time32, 269, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pciconfig_read +TRACE_SYSCALL_TABLE(pciconfig_read, pciconfig_read, 272, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pciconfig_write +TRACE_SYSCALL_TABLE(pciconfig_write, pciconfig_write, 273, 5) +#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_time32 +TRACE_SYSCALL_TABLE(mq_timedsend_time32, mq_timedsend_time32, 276, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32 +TRACE_SYSCALL_TABLE(mq_timedreceive_time32, mq_timedreceive_time32, 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_recv +TRACE_SYSCALL_TABLE(recv, recv, 291, 4) +#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_old_msgctl +TRACE_SYSCALL_TABLE(old_msgctl, old_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_old_shmctl +TRACE_SYSCALL_TABLE(old_shmctl, old_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_time32 +TRACE_SYSCALL_TABLE(semtimedop_time32, semtimedop_time32, 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_time32 +TRACE_SYSCALL_TABLE(futimesat_time32, futimesat_time32, 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_time32 +TRACE_SYSCALL_TABLE(pselect6_time32, pselect6_time32, 335, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll_time32 +TRACE_SYSCALL_TABLE(ppoll_time32, ppoll_time32, 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_kexec_load +TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 347, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat_time32 +TRACE_SYSCALL_TABLE(utimensat_time32, utimensat_time32, 348, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime32 +TRACE_SYSCALL_TABLE(timerfd_settime32, timerfd_settime32, 353, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime32 +TRACE_SYSCALL_TABLE(timerfd_gettime32, timerfd_gettime32, 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_time32 +TRACE_SYSCALL_TABLE(recvmmsg_time32, recvmmsg_time32, 365, 5) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fanotify_mark +TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 368, 5) +#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_adjtime32 +TRACE_SYSCALL_TABLE(clock_adjtime32, clock_adjtime32, 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 +#ifndef OVERRIDE_TABLE_32_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 379, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 380, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 381, 4) +#endif +#ifndef OVERRIDE_TABLE_32_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 382, 5) +#endif +#ifndef OVERRIDE_TABLE_32_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 383, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 384, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 385, 2) +#endif +#ifndef OVERRIDE_TABLE_32_bpf +TRACE_SYSCALL_TABLE(bpf, bpf, 386, 3) +#endif +#ifndef OVERRIDE_TABLE_32_execveat +TRACE_SYSCALL_TABLE(execveat, execveat, 387, 5) +#endif +#ifndef OVERRIDE_TABLE_32_copy_file_range +TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 391, 6) +#endif +#ifndef OVERRIDE_TABLE_32_preadv2 +TRACE_SYSCALL_TABLE(preadv2, preadv2, 392, 6) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev2 +TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 393, 6) +#endif +#ifndef OVERRIDE_TABLE_32_statx +TRACE_SYSCALL_TABLE(statx, statx, 397, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rseq +TRACE_SYSCALL_TABLE(rseq, rseq, 398, 4) +#endif +#ifndef OVERRIDE_TABLE_32_io_pgetevents_time32 +TRACE_SYSCALL_TABLE(io_pgetevents_time32, io_pgetevents_time32, 399, 6) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 403, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 404, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 405, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 406, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 407, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 408, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 409, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 410, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 411, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 412, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 413, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 414, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_pgetevents +TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 416, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 417, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 418, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 419, 5) +#endif +#ifndef OVERRIDE_TABLE_32_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 420, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 421, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 422, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 423, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_send_signal +TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_setup +TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_enter +TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_register +TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) +#endif +#ifndef OVERRIDE_TABLE_32_open_tree +TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) +#endif +#ifndef OVERRIDE_TABLE_32_move_mount +TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsopen +TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fsconfig +TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fspick +TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clone3 +TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) +#endif +#ifndef OVERRIDE_TABLE_32_openat2 +TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat2 +TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) +#endif +#ifndef OVERRIDE_TABLE_32_process_madvise +TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait2 +TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) +#endif +#ifndef OVERRIDE_TABLE_32_mount_setattr +TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) +#endif +#ifndef OVERRIDE_TABLE_32_quotactl_fd +TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) +#endif +#ifndef OVERRIDE_TABLE_32_landlock_create_ruleset +TRACE_SYSCALL_TABLE(landlock_create_ruleset, landlock_create_ruleset, 444, 3) +#endif +#ifndef OVERRIDE_TABLE_32_landlock_add_rule +TRACE_SYSCALL_TABLE(landlock_add_rule, landlock_add_rule, 445, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex_waitv +TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/arm-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/arm-32-syscalls_pointers_override.h new file mode 100644 index 00000000..96fb731f --- /dev/null +++ b/include/instrumentation/syscalls/arm-32-syscalls_pointers_override.h @@ -0,0 +1,61 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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 + +#ifdef CONFIG_ARM64 +#ifdef CONFIG_COMPAT_OLD_SIGACTION +/* + * From the point of view of the 64-bit ABI, old_sigaction + * becomes compat_old_sigaction. + */ +#define old_sigaction compat_old_sigaction +#else /* CONFIG_COMPAT_OLD_SIGACTION */ +/* + * The target 64-bit kernel does not enable the support for + * the 32-bit compat version of OLD_SIGACTION. Defining + * OVERRIDE_32_sigaction ensures we don't build a tracepoint + * for this syscall. + */ +#define OVERRIDE_32_sigaction +#endif /* CONFIG_COMPAT_OLD_SIGACTION */ +#endif + +#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/include/instrumentation/syscalls/arm-64-syscalls_integers.h b/include/instrumentation/syscalls/arm-64-syscalls_integers.h new file mode 100644 index 00000000..24237a22 --- /dev/null +++ b/include/instrumentation/syscalls/arm-64-syscalls_integers.h @@ -0,0 +1,1132 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 6.0.7 */ + +#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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) +#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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, + 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_arm64_personality +SC_LTTNG_TRACEPOINT_EVENT(arm64_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_inout(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_userfaultfd +SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_memfd_secret +SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, + TP_PROTO(sc_exit(long ret,) unsigned int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned 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_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 flags), + TP_ARGS(sc_exit(ret,) fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pidfd_open +SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_process_mrelease +SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, + TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned 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_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), + TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) +) +#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_fsmount +SC_LTTNG_TRACEPOINT_EVENT(fsmount, + TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), + TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) +) +#endif +#ifndef OVERRIDE_64_close_range +SC_LTTNG_TRACEPOINT_EVENT(close_range, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, max_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pidfd_getfd +SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, + TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(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_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_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)) sc_in(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_64_set_mempolicy_home_node +SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, len, home_node, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, home_node, home_node)) sc_inout(ctf_integer(unsigned long, flags, flags))) +) +#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 +#ifndef OVERRIDE_64_kcmp +SC_LTTNG_TRACEPOINT_EVENT(kcmp, + TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), + TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) +) +#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 "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_rt_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 139, 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_rt_sigreturn +TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 139, 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_arm64_personality +TRACE_SYSCALL_TABLE(arm64_personality, arm64_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_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 222, 6) +#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_kcmp +TRACE_SYSCALL_TABLE(kcmp, kcmp, 272, 5) +#endif +#ifndef OVERRIDE_TABLE_64_userfaultfd +TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 282, 1) +#endif +#ifndef OVERRIDE_TABLE_64_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 283, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 284, 3) +#endif +#ifndef OVERRIDE_TABLE_64_fsmount +TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_open +TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) +#endif +#ifndef OVERRIDE_TABLE_64_close_range +TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_getfd +TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) +#endif +#ifndef OVERRIDE_TABLE_64_memfd_secret +TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) +#endif +#ifndef OVERRIDE_TABLE_64_process_mrelease +TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) +#endif +#ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node +TRACE_SYSCALL_TABLE(set_mempolicy_home_node, set_mempolicy_home_node, 450, 4) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/arm-64-syscalls_integers_override.h b/include/instrumentation/syscalls/arm-64-syscalls_integers_override.h new file mode 100644 index 00000000..ac0d5443 --- /dev/null +++ b/include/instrumentation/syscalls/arm-64-syscalls_integers_override.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* + * 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/include/instrumentation/syscalls/arm-64-syscalls_pointers.h b/include/instrumentation/syscalls/arm-64-syscalls_pointers.h new file mode 100644 index 00000000..674a1050 --- /dev/null +++ b/include/instrumentation/syscalls/arm-64-syscalls_pointers.h @@ -0,0 +1,1969 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 6.0.7 */ + +#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 __kernel_timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __kernel_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 __kernel_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 __kernel_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 __kernel_timespec * rqtp, struct __kernel_timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) +) +#endif +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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_uring_setup +SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, + TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), + TP_ARGS(sc_exit(ret,) entries, params), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) +) +#endif +#ifndef OVERRIDE_64_fsopen +SC_LTTNG_TRACEPOINT_EVENT(fsopen, + TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), + TP_ARGS(sc_exit(ret,) _fs_name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_clone3 +SC_LTTNG_TRACEPOINT_EVENT(clone3, + TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), + TP_ARGS(sc_exit(ret,) uargs, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) +) +#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_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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_set_mempolicy +SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy, + TP_PROTO(sc_exit(long ret,) int mode, const 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode))) +) +#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, void * 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(void *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_64_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) ubuf, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_bpf +SC_LTTNG_TRACEPOINT_EVENT(bpf, + TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), + TP_ARGS(sc_exit(ret,) cmd, uattr, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) +) +#endif +#ifndef OVERRIDE_64_open_tree +SC_LTTNG_TRACEPOINT_EVENT(open_tree, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), + TP_ARGS(sc_exit(ret,) dfd, filename, flags), + 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(unsigned, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fspick +SC_LTTNG_TRACEPOINT_EVENT(fspick, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), + TP_ARGS(sc_exit(ret,) dfd, path, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) 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 __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_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 __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) +) +#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_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_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 __kernel_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 __kernel_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 int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_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_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_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 usize, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_rseq +SC_LTTNG_TRACEPOINT_EVENT(rseq, + TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), + TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_pidfd_send_signal +SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, + TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_uring_register +SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), + TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) +) +#endif +#ifndef OVERRIDE_64_openat2 +SC_LTTNG_TRACEPOINT_EVENT(openat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), + 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_64_faccessat2 +SC_LTTNG_TRACEPOINT_EVENT(faccessat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), + 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_quotactl_fd +SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), + 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_clone +SC_LTTNG_TRACEPOINT_EVENT(clone, + TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), + TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) +) +#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_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 __kernel_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 __kernel_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_statx +SC_LTTNG_TRACEPOINT_EVENT(statx, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), + 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) +) +#endif +#ifndef OVERRIDE_64_move_mount +SC_LTTNG_TRACEPOINT_EVENT(move_mount, + TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), + TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fsconfig +SC_LTTNG_TRACEPOINT_EVENT(fsconfig, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), + TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) +) +#endif +#ifndef OVERRIDE_64_process_madvise +SC_LTTNG_TRACEPOINT_EVENT(process_madvise, + TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_mount_setattr +SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_64_futex_waitv +SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, + TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), + TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) +) +#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 __kernel_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 __kernel_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, const struct __kernel_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(const struct __kernel_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_mbind +SC_LTTNG_TRACEPOINT_EVENT(mbind, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, const unsigned long * nmask, unsigned long maxnode, unsigned int 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) 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_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_copy_file_range +SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, + 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_preadv2 +SC_LTTNG_TRACEPOINT_EVENT(preadv2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pwritev2 +SC_LTTNG_TRACEPOINT_EVENT(pwritev2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_pgetevents +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#endif +#ifndef OVERRIDE_64_io_uring_enter +SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, + TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), + TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) +) +#endif +#ifndef OVERRIDE_64_epoll_pwait2 +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#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_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_kexec_load +TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 104, 4) +#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_clone +TRACE_SYSCALL_TABLE(clone, clone, 220, 5) +#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_mbind +TRACE_SYSCALL_TABLE(mbind, mbind, 235, 6) +#endif +#ifndef OVERRIDE_TABLE_64_get_mempolicy +TRACE_SYSCALL_TABLE(get_mempolicy, get_mempolicy, 236, 5) +#endif +#ifndef OVERRIDE_TABLE_64_set_mempolicy +TRACE_SYSCALL_TABLE(set_mempolicy, set_mempolicy, 237, 3) +#endif +#ifndef OVERRIDE_TABLE_64_migrate_pages +TRACE_SYSCALL_TABLE(migrate_pages, migrate_pages, 238, 4) +#endif +#ifndef OVERRIDE_TABLE_64_move_pages +TRACE_SYSCALL_TABLE(move_pages, move_pages, 239, 6) +#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_bpf +TRACE_SYSCALL_TABLE(bpf, bpf, 280, 3) +#endif +#ifndef OVERRIDE_TABLE_64_execveat +TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5) +#endif +#ifndef OVERRIDE_TABLE_64_copy_file_range +TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 285, 6) +#endif +#ifndef OVERRIDE_TABLE_64_preadv2 +TRACE_SYSCALL_TABLE(preadv2, preadv2, 286, 6) +#endif +#ifndef OVERRIDE_TABLE_64_pwritev2 +TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 287, 6) +#endif +#ifndef OVERRIDE_TABLE_64_statx +TRACE_SYSCALL_TABLE(statx, statx, 291, 5) +#endif +#ifndef OVERRIDE_TABLE_64_io_pgetevents +TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 292, 6) +#endif +#ifndef OVERRIDE_TABLE_64_rseq +TRACE_SYSCALL_TABLE(rseq, rseq, 293, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_send_signal +TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_setup +TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_enter +TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_register +TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) +#endif +#ifndef OVERRIDE_TABLE_64_open_tree +TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) +#endif +#ifndef OVERRIDE_TABLE_64_move_mount +TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fsopen +TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fsconfig +TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fspick +TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) +#endif +#ifndef OVERRIDE_TABLE_64_clone3 +TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) +#endif +#ifndef OVERRIDE_TABLE_64_openat2 +TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) +#endif +#ifndef OVERRIDE_TABLE_64_faccessat2 +TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) +#endif +#ifndef OVERRIDE_TABLE_64_process_madvise +TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_pwait2 +TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) +#endif +#ifndef OVERRIDE_TABLE_64_mount_setattr +TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) +#endif +#ifndef OVERRIDE_TABLE_64_quotactl_fd +TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) +#endif +#ifndef OVERRIDE_TABLE_64_futex_waitv +TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/arm-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/arm-64-syscalls_pointers_override.h new file mode 100644 index 00000000..f35ce2f8 --- /dev/null +++ b/include/instrumentation/syscalls/arm-64-syscalls_pointers_override.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* + * 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/include/instrumentation/syscalls/compat_syscalls_integers.h b/include/instrumentation/syscalls/compat_syscalls_integers.h new file mode 100644 index 00000000..080a36a8 --- /dev/null +++ b/include/instrumentation/syscalls/compat_syscalls_integers.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifdef CONFIG_X86_64 +#include "x86-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_ARM64 +#include "arm-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_PPC64 +#include "powerpc-32-syscalls_integers.h" +#endif diff --git a/include/instrumentation/syscalls/compat_syscalls_pointers.h b/include/instrumentation/syscalls/compat_syscalls_pointers.h new file mode 100644 index 00000000..4d893862 --- /dev/null +++ b/include/instrumentation/syscalls/compat_syscalls_pointers.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifdef CONFIG_X86_64 +#include "x86-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_ARM64 +#include "arm-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_PPC64 +#include "powerpc-32-syscalls_pointers.h" +#endif diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_integers.h deleted file mode 100644 index 44847ea8..00000000 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_integers.h +++ /dev/null @@ -1,1410 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from arm-32-syscalls 6.0.7 */ - -#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_fork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) -#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_vfork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) -#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_fork -SC_LTTNG_TRACEPOINT_EVENT(fork, - 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_vfork -SC_LTTNG_TRACEPOINT_EVENT(vfork, - 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_userfaultfd -SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) -) -#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_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_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_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(loff_t, length, length))) -) -#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 flags), - TP_ARGS(sc_exit(ret,) fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_pidfd_open -SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_landlock_restrict_self -SC_LTTNG_TRACEPOINT_EVENT(landlock_restrict_self, - TP_PROTO(sc_exit(long ret,) const int ruleset_fd, const __u32 flags), - TP_ARGS(sc_exit(ret,) ruleset_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const __u32, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_process_mrelease -SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, - TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#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_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, - TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), - TP_ARGS(sc_exit(ret,) unused1, unused2, mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) -) -#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_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_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_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_membarrier -SC_LTTNG_TRACEPOINT_EVENT(membarrier, - TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), - TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) -) -#endif -#ifndef OVERRIDE_32_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_32_fsmount -SC_LTTNG_TRACEPOINT_EVENT(fsmount, - TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), - TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) -) -#endif -#ifndef OVERRIDE_32_close_range -SC_LTTNG_TRACEPOINT_EVENT(close_range, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, max_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_pidfd_getfd -SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, - TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)) sc_in(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_32_old_semctl -SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(int, semnum, semnum)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_sync_file_range2 -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int flags, loff_t offset, loff_t nbytes), - TP_ARGS(sc_exit(ret,) fd, flags, offset, nbytes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, nbytes, nbytes))) -) -#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_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_kcmp -SC_LTTNG_TRACEPOINT_EVENT(kcmp, - TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), - TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) -) -#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 "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_fork -TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 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_vfork -TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 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_fork -TRACE_SYSCALL_TABLE(fork, fork, 2, 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_vfork -TRACE_SYSCALL_TABLE(vfork, vfork, 190, 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_sigsuspend -TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) -#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_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_ftruncate64 -TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 194, 2) -#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_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 225, 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_fadvise64_64 -TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 270, 4) -#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_old_semctl -TRACE_SYSCALL_TABLE(old_semctl, old_semctl, 300, 4) -#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_sync_file_range2 -TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4) -#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_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 352, 4) -#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 -#ifndef OVERRIDE_TABLE_32_kcmp -TRACE_SYSCALL_TABLE(kcmp, kcmp, 378, 5) -#endif -#ifndef OVERRIDE_TABLE_32_userfaultfd -TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 388, 1) -#endif -#ifndef OVERRIDE_TABLE_32_membarrier -TRACE_SYSCALL_TABLE(membarrier, membarrier, 389, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mlock2 -TRACE_SYSCALL_TABLE(mlock2, mlock2, 390, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsmount -TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_open -TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) -#endif -#ifndef OVERRIDE_TABLE_32_close_range -TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_getfd -TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) -#endif -#ifndef OVERRIDE_TABLE_32_landlock_restrict_self -TRACE_SYSCALL_TABLE(landlock_restrict_self, landlock_restrict_self, 446, 2) -#endif -#ifndef OVERRIDE_TABLE_32_process_mrelease -TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h deleted file mode 100644 index 4dfbdebf..00000000 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h +++ /dev/null @@ -1,143 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h deleted file mode 100644 index 5f4ca5b1..00000000 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h +++ /dev/null @@ -1,2599 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from arm-32-syscalls 6.0.7 */ - -#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 * uset), - TP_ARGS(sc_exit(ret,) uset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, uset, uset))) -) -#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_time32 -SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32, - TP_PROTO(sc_exit(long ret,) struct old_timex32 * utp), - TP_ARGS(sc_exit(ret,) utp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) -) -#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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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_time32 -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct old_timespec32 * 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 old_timespec32 *, interval, interval))) -) -#endif -#ifndef OVERRIDE_32_nanosleep_time32 -SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32, - TP_PROTO(sc_exit(long ret,) struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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_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_in(ctf_user_string(path, path)) sc_in(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_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_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct old_itimerspec32 * 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 old_itimerspec32 *, setting, setting))) -) -#endif -#ifndef OVERRIDE_32_clock_settime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_settime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_getres_time32 -SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_utimes_time32 -SC_LTTNG_TRACEPOINT_EVENT(utimes_time32, - TP_PROTO(sc_exit(long ret,) const char * filename, struct old_timeval32 * t), - TP_ARGS(sc_exit(ret,) filename, t), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) -) -#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_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32, - TP_PROTO(sc_exit(long ret,) int ufd, struct old_itimerspec32 * 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 old_itimerspec32 *, 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_adjtime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timex32 * utp), - TP_ARGS(sc_exit(ret,) which_clock, utp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) -) -#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_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) -) -#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 __kernel_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 __kernel_timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timex *, utx, utx))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct __kernel_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 __kernel_itimerspec *, setting, setting))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct __kernel_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 __kernel_itimerspec *, otmr, otmr))) -) -#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 __kernel_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 __kernel_timespec *, interval, interval))) -) -#endif -#ifndef OVERRIDE_32_io_uring_setup -SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, - TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), - TP_ARGS(sc_exit(ret,) entries, params), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) -) -#endif -#ifndef OVERRIDE_32_fsopen -SC_LTTNG_TRACEPOINT_EVENT(fsopen, - TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), - TP_ARGS(sc_exit(ret,) _fs_name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clone3 -SC_LTTNG_TRACEPOINT_EVENT(clone3, - TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), - TP_ARGS(sc_exit(ret,) uargs, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) -) -#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_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_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_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct old_sigaction * act, struct old_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 old_sigaction *, act, act)) sc_inout(ctf_integer(struct old_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_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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 * ruidp, old_uid_t * euidp, old_uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruidp, ruidp)) sc_inout(ctf_integer(old_uid_t *, euidp, euidp)) sc_inout(ctf_integer(old_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_getresgid16 -SC_LTTNG_TRACEPOINT_EVENT(getresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgidp, rgidp)) sc_inout(ctf_integer(old_gid_t *, egidp, egidp)) sc_inout(ctf_integer(old_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_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 * 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_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_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_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 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_32_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_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_old_msgctl -SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, msqid, msqid)) sc_inout(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_old_shmctl -SC_LTTNG_TRACEPOINT_EVENT(old_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_inout(ctf_integer(int, shmid, shmid)) sc_inout(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_time32 -SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32, - TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timeval32 * t), - TP_ARGS(sc_exit(ret,) dfd, filename, t), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) -) -#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, void * 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(void *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_32_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) ubuf, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_bpf -SC_LTTNG_TRACEPOINT_EVENT(bpf, - TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), - TP_ARGS(sc_exit(ret,) cmd, uattr, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) -) -#endif -#ifndef OVERRIDE_32_open_tree -SC_LTTNG_TRACEPOINT_EVENT(open_tree, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), - TP_ARGS(sc_exit(ret,) dfd, filename, flags), - 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(unsigned, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fspick -SC_LTTNG_TRACEPOINT_EVENT(fspick, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), - TP_ARGS(sc_exit(ret,) dfd, path, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_landlock_create_ruleset -SC_LTTNG_TRACEPOINT_EVENT(landlock_create_ruleset, - TP_PROTO(sc_exit(long ret,) const struct landlock_ruleset_attr *const attr, const size_t size, const __u32 flags), - TP_ARGS(sc_exit(ret,) attr, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const struct landlock_ruleset_attr *const, attr, attr)) sc_inout(ctf_integer(const size_t, size, size)) sc_inout(ctf_integer(const __u32, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct old_timespec32 * 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 old_timespec32 *, 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_settime32 -SC_LTTNG_TRACEPOINT_EVENT(timer_settime32, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, struct old_itimerspec32 * new, struct old_itimerspec32 * old), - TP_ARGS(sc_exit(ret,) timer_id, flags, new, old), - 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(struct old_itimerspec32 *, new, new)) sc_out(ctf_integer(struct old_itimerspec32 *, old, old))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep_time32 -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, int flags, struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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 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_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_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_time32 -SC_LTTNG_TRACEPOINT_EVENT(semtimedop_time32, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsems, unsigned int nsops, const struct old_timespec32 * timeout), - TP_ARGS(sc_exit(ret,) semid, tsems, nsops, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(struct sembuf *, tsems, tsems)) sc_inout(ctf_integer(unsigned int, nsops, nsops)) sc_inout(ctf_integer(const struct old_timespec32 *, 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#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_utimensat_time32 -SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32, - TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timespec32 * t, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, t, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timespec32 *, t, t)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime32 -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct old_itimerspec32 * utmr, struct old_itimerspec32 * 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 old_itimerspec32 *, utmr, utmr)) sc_out(ctf_integer(struct old_itimerspec32 *, 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 usize, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_rseq -SC_LTTNG_TRACEPOINT_EVENT(rseq, - TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), - TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) -) -#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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) -) -#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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_itimerspec *, old_setting, old_setting))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout))) -) -#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 __kernel_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 __kernel_timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_pidfd_send_signal -SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, - TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_io_uring_register -SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), - TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) -) -#endif -#ifndef OVERRIDE_32_openat2 -SC_LTTNG_TRACEPOINT_EVENT(openat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), - 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_32_faccessat2 -SC_LTTNG_TRACEPOINT_EVENT(faccessat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), - 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_quotactl_fd -SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), - 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_landlock_add_rule -SC_LTTNG_TRACEPOINT_EVENT(landlock_add_rule, - TP_PROTO(sc_exit(long ret,) const int ruleset_fd, const enum landlock_rule_type rule_type, const void *const rule_attr, const __u32 flags), - TP_ARGS(sc_exit(ret,) ruleset_fd, rule_type, rule_attr, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const enum landlock_rule_type, rule_type, rule_type)) sc_inout(ctf_integer(const void *const, rule_attr, rule_attr)) sc_inout(ctf_integer(const __u32, 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_clone -SC_LTTNG_TRACEPOINT_EVENT(clone, - TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), - TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) -) -#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 __kernel_old_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 __kernel_old_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_time32 -SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32, - TP_PROTO(sc_exit(long ret,) __u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event * events, struct old_timespec32 * 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(__u32, ctx_id, ctx_id)) sc_in(ctf_integer(__s32, min_nr, min_nr)) sc_in(ctf_integer(__s32, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout))) -) -#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_mq_timedsend_time32 -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, u_abs_timeout, u_abs_timeout))) -) -#endif -#ifndef OVERRIDE_32_mq_timedreceive_time32 -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, unsigned int msg_len, unsigned int * u_msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct old_timespec32 * 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 old_timespec32 *, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 * 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 old_timespec32 *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_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_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_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_32_statx -SC_LTTNG_TRACEPOINT_EVENT(statx, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), - 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, u_abs_timeout, u_abs_timeout))) -) -#endif -#ifndef OVERRIDE_32_move_mount -SC_LTTNG_TRACEPOINT_EVENT(move_mount, - TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), - TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fsconfig -SC_LTTNG_TRACEPOINT_EVENT(fsconfig, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), - TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) -) -#endif -#ifndef OVERRIDE_32_process_madvise -SC_LTTNG_TRACEPOINT_EVENT(process_madvise, - TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mount_setattr -SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_32_futex_waitv -SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, - TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), - TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) -) -#endif -#ifndef OVERRIDE_32_futex_time32 -SC_LTTNG_TRACEPOINT_EVENT(futex_time32, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct old_timespec32 * 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(const struct old_timespec32 *, 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 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_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_pselect6_time32 -SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct old_timespec32 * 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 old_timespec32 *, 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 -#ifndef OVERRIDE_32_copy_file_range -SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, - 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_preadv2 -SC_LTTNG_TRACEPOINT_EVENT(preadv2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_pwritev2 -SC_LTTNG_TRACEPOINT_EVENT(pwritev2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_io_pgetevents_time32 -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct old_timespec32 * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#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 __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_io_pgetevents -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct __kernel_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(const struct __kernel_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) -) -#endif -#ifndef OVERRIDE_32_io_uring_enter -SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, - TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), - TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait2 -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#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_execve -TRACE_SYSCALL_TABLE(execve, execve, 11, 3) -#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_sigaction -TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3) -#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_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_clone -TRACE_SYSCALL_TABLE(clone, clone, 120, 5) -#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_time32 -TRACE_SYSCALL_TABLE(adjtimex_time32, adjtimex_time32, 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_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_time32 -TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32, sched_rr_get_interval_time32, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep_time32 -TRACE_SYSCALL_TABLE(nanosleep_time32, nanosleep_time32, 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_time32 -TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32, rt_sigtimedwait_time32, 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_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 180, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 181, 4) -#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_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 186, 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_truncate64 -TRACE_SYSCALL_TABLE(truncate64, truncate64, 193, 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_time32 -TRACE_SYSCALL_TABLE(futex_time32, futex_time32, 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_time32 -TRACE_SYSCALL_TABLE(io_getevents_time32, io_getevents_time32, 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_settime32 -TRACE_SYSCALL_TABLE(timer_settime32, timer_settime32, 258, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime32 -TRACE_SYSCALL_TABLE(timer_gettime32, timer_gettime32, 259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime32 -TRACE_SYSCALL_TABLE(clock_settime32, clock_settime32, 262, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime32 -TRACE_SYSCALL_TABLE(clock_gettime32, clock_gettime32, 263, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres_time32 -TRACE_SYSCALL_TABLE(clock_getres_time32, clock_getres_time32, 264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32 -TRACE_SYSCALL_TABLE(clock_nanosleep_time32, clock_nanosleep_time32, 265, 4) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 266, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 267, 3) -#endif -#ifndef OVERRIDE_TABLE_32_utimes_time32 -TRACE_SYSCALL_TABLE(utimes_time32, utimes_time32, 269, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pciconfig_read -TRACE_SYSCALL_TABLE(pciconfig_read, pciconfig_read, 272, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pciconfig_write -TRACE_SYSCALL_TABLE(pciconfig_write, pciconfig_write, 273, 5) -#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_time32 -TRACE_SYSCALL_TABLE(mq_timedsend_time32, mq_timedsend_time32, 276, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32 -TRACE_SYSCALL_TABLE(mq_timedreceive_time32, mq_timedreceive_time32, 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_recv -TRACE_SYSCALL_TABLE(recv, recv, 291, 4) -#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_old_msgctl -TRACE_SYSCALL_TABLE(old_msgctl, old_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_old_shmctl -TRACE_SYSCALL_TABLE(old_shmctl, old_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_time32 -TRACE_SYSCALL_TABLE(semtimedop_time32, semtimedop_time32, 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_time32 -TRACE_SYSCALL_TABLE(futimesat_time32, futimesat_time32, 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_time32 -TRACE_SYSCALL_TABLE(pselect6_time32, pselect6_time32, 335, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll_time32 -TRACE_SYSCALL_TABLE(ppoll_time32, ppoll_time32, 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_kexec_load -TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 347, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat_time32 -TRACE_SYSCALL_TABLE(utimensat_time32, utimensat_time32, 348, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime32 -TRACE_SYSCALL_TABLE(timerfd_settime32, timerfd_settime32, 353, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime32 -TRACE_SYSCALL_TABLE(timerfd_gettime32, timerfd_gettime32, 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_time32 -TRACE_SYSCALL_TABLE(recvmmsg_time32, recvmmsg_time32, 365, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fanotify_mark -TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 368, 5) -#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_adjtime32 -TRACE_SYSCALL_TABLE(clock_adjtime32, clock_adjtime32, 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 -#ifndef OVERRIDE_TABLE_32_finit_module -TRACE_SYSCALL_TABLE(finit_module, finit_module, 379, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setattr -TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 380, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getattr -TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 381, 4) -#endif -#ifndef OVERRIDE_TABLE_32_renameat2 -TRACE_SYSCALL_TABLE(renameat2, renameat2, 382, 5) -#endif -#ifndef OVERRIDE_TABLE_32_seccomp -TRACE_SYSCALL_TABLE(seccomp, seccomp, 383, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getrandom -TRACE_SYSCALL_TABLE(getrandom, getrandom, 384, 3) -#endif -#ifndef OVERRIDE_TABLE_32_memfd_create -TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 385, 2) -#endif -#ifndef OVERRIDE_TABLE_32_bpf -TRACE_SYSCALL_TABLE(bpf, bpf, 386, 3) -#endif -#ifndef OVERRIDE_TABLE_32_execveat -TRACE_SYSCALL_TABLE(execveat, execveat, 387, 5) -#endif -#ifndef OVERRIDE_TABLE_32_copy_file_range -TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 391, 6) -#endif -#ifndef OVERRIDE_TABLE_32_preadv2 -TRACE_SYSCALL_TABLE(preadv2, preadv2, 392, 6) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev2 -TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 393, 6) -#endif -#ifndef OVERRIDE_TABLE_32_statx -TRACE_SYSCALL_TABLE(statx, statx, 397, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rseq -TRACE_SYSCALL_TABLE(rseq, rseq, 398, 4) -#endif -#ifndef OVERRIDE_TABLE_32_io_pgetevents_time32 -TRACE_SYSCALL_TABLE(io_pgetevents_time32, io_pgetevents_time32, 399, 6) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 403, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 404, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 405, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 406, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 407, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 408, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 409, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 410, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 411, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 412, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 413, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 414, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_pgetevents -TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 416, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 417, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 418, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 419, 5) -#endif -#ifndef OVERRIDE_TABLE_32_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 420, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 421, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 422, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 423, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_send_signal -TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_setup -TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_enter -TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_register -TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) -#endif -#ifndef OVERRIDE_TABLE_32_open_tree -TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) -#endif -#ifndef OVERRIDE_TABLE_32_move_mount -TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsopen -TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fsconfig -TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fspick -TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clone3 -TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) -#endif -#ifndef OVERRIDE_TABLE_32_openat2 -TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat2 -TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) -#endif -#ifndef OVERRIDE_TABLE_32_process_madvise -TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait2 -TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) -#endif -#ifndef OVERRIDE_TABLE_32_mount_setattr -TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) -#endif -#ifndef OVERRIDE_TABLE_32_quotactl_fd -TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) -#endif -#ifndef OVERRIDE_TABLE_32_landlock_create_ruleset -TRACE_SYSCALL_TABLE(landlock_create_ruleset, landlock_create_ruleset, 444, 3) -#endif -#ifndef OVERRIDE_TABLE_32_landlock_add_rule -TRACE_SYSCALL_TABLE(landlock_add_rule, landlock_add_rule, 445, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex_waitv -TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h deleted file mode 100644 index 96fb731f..00000000 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h +++ /dev/null @@ -1,61 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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 - -#ifdef CONFIG_ARM64 -#ifdef CONFIG_COMPAT_OLD_SIGACTION -/* - * From the point of view of the 64-bit ABI, old_sigaction - * becomes compat_old_sigaction. - */ -#define old_sigaction compat_old_sigaction -#else /* CONFIG_COMPAT_OLD_SIGACTION */ -/* - * The target 64-bit kernel does not enable the support for - * the 32-bit compat version of OLD_SIGACTION. Defining - * OVERRIDE_32_sigaction ensures we don't build a tracepoint - * for this syscall. - */ -#define OVERRIDE_32_sigaction -#endif /* CONFIG_COMPAT_OLD_SIGACTION */ -#endif - -#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/include/instrumentation/syscalls/headers/arm-64-syscalls_integers.h b/include/instrumentation/syscalls/headers/arm-64-syscalls_integers.h deleted file mode 100644 index 24237a22..00000000 --- a/include/instrumentation/syscalls/headers/arm-64-syscalls_integers.h +++ /dev/null @@ -1,1132 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from arm-64-syscalls 6.0.7 */ - -#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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) -#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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, - 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_arm64_personality -SC_LTTNG_TRACEPOINT_EVENT(arm64_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_inout(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_userfaultfd -SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_memfd_secret -SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, - TP_PROTO(sc_exit(long ret,) unsigned int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned 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_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 flags), - TP_ARGS(sc_exit(ret,) fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pidfd_open -SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_process_mrelease -SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, - TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned 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_membarrier -SC_LTTNG_TRACEPOINT_EVENT(membarrier, - TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), - TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) -) -#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_fsmount -SC_LTTNG_TRACEPOINT_EVENT(fsmount, - TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), - TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) -) -#endif -#ifndef OVERRIDE_64_close_range -SC_LTTNG_TRACEPOINT_EVENT(close_range, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, max_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pidfd_getfd -SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, - TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(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_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_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)) sc_in(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_64_set_mempolicy_home_node -SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, len, home_node, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, home_node, home_node)) sc_inout(ctf_integer(unsigned long, flags, flags))) -) -#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 -#ifndef OVERRIDE_64_kcmp -SC_LTTNG_TRACEPOINT_EVENT(kcmp, - TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), - TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) -) -#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 "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_rt_sigreturn -TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 139, 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_rt_sigreturn -TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 139, 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_arm64_personality -TRACE_SYSCALL_TABLE(arm64_personality, arm64_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_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 222, 6) -#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_kcmp -TRACE_SYSCALL_TABLE(kcmp, kcmp, 272, 5) -#endif -#ifndef OVERRIDE_TABLE_64_userfaultfd -TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 282, 1) -#endif -#ifndef OVERRIDE_TABLE_64_membarrier -TRACE_SYSCALL_TABLE(membarrier, membarrier, 283, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mlock2 -TRACE_SYSCALL_TABLE(mlock2, mlock2, 284, 3) -#endif -#ifndef OVERRIDE_TABLE_64_fsmount -TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_open -TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) -#endif -#ifndef OVERRIDE_TABLE_64_close_range -TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_getfd -TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) -#endif -#ifndef OVERRIDE_TABLE_64_memfd_secret -TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) -#endif -#ifndef OVERRIDE_TABLE_64_process_mrelease -TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) -#endif -#ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node -TRACE_SYSCALL_TABLE(set_mempolicy_home_node, set_mempolicy_home_node, 450, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h deleted file mode 100644 index ac0d5443..00000000 --- a/include/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* - * 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/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h b/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h deleted file mode 100644 index 674a1050..00000000 --- a/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h +++ /dev/null @@ -1,1969 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from arm-64-syscalls 6.0.7 */ - -#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 __kernel_timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __kernel_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 __kernel_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 __kernel_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 __kernel_timespec * rqtp, struct __kernel_timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) -) -#endif -#ifndef OVERRIDE_64_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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_uring_setup -SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, - TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), - TP_ARGS(sc_exit(ret,) entries, params), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) -) -#endif -#ifndef OVERRIDE_64_fsopen -SC_LTTNG_TRACEPOINT_EVENT(fsopen, - TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), - TP_ARGS(sc_exit(ret,) _fs_name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_clone3 -SC_LTTNG_TRACEPOINT_EVENT(clone3, - TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), - TP_ARGS(sc_exit(ret,) uargs, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) -) -#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_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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_set_mempolicy -SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy, - TP_PROTO(sc_exit(long ret,) int mode, const 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode))) -) -#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, void * 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(void *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_64_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) ubuf, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_bpf -SC_LTTNG_TRACEPOINT_EVENT(bpf, - TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), - TP_ARGS(sc_exit(ret,) cmd, uattr, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) -) -#endif -#ifndef OVERRIDE_64_open_tree -SC_LTTNG_TRACEPOINT_EVENT(open_tree, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), - TP_ARGS(sc_exit(ret,) dfd, filename, flags), - 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(unsigned, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fspick -SC_LTTNG_TRACEPOINT_EVENT(fspick, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), - TP_ARGS(sc_exit(ret,) dfd, path, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) 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 __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_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 __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) -) -#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_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_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 __kernel_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 __kernel_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 int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_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_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_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 usize, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_rseq -SC_LTTNG_TRACEPOINT_EVENT(rseq, - TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), - TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_pidfd_send_signal -SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, - TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_uring_register -SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), - TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) -) -#endif -#ifndef OVERRIDE_64_openat2 -SC_LTTNG_TRACEPOINT_EVENT(openat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), - 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_64_faccessat2 -SC_LTTNG_TRACEPOINT_EVENT(faccessat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), - 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_quotactl_fd -SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), - 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_clone -SC_LTTNG_TRACEPOINT_EVENT(clone, - TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), - TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) -) -#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_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 __kernel_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 __kernel_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_statx -SC_LTTNG_TRACEPOINT_EVENT(statx, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), - 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) -) -#endif -#ifndef OVERRIDE_64_move_mount -SC_LTTNG_TRACEPOINT_EVENT(move_mount, - TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), - TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fsconfig -SC_LTTNG_TRACEPOINT_EVENT(fsconfig, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), - TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) -) -#endif -#ifndef OVERRIDE_64_process_madvise -SC_LTTNG_TRACEPOINT_EVENT(process_madvise, - TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_mount_setattr -SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_64_futex_waitv -SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, - TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), - TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) -) -#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 __kernel_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 __kernel_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, const struct __kernel_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(const struct __kernel_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_mbind -SC_LTTNG_TRACEPOINT_EVENT(mbind, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, const unsigned long * nmask, unsigned long maxnode, unsigned int 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) 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_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_copy_file_range -SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, - 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_preadv2 -SC_LTTNG_TRACEPOINT_EVENT(preadv2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pwritev2 -SC_LTTNG_TRACEPOINT_EVENT(pwritev2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_pgetevents -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#endif -#ifndef OVERRIDE_64_io_uring_enter -SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, - TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), - TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) -) -#endif -#ifndef OVERRIDE_64_epoll_pwait2 -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#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_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_kexec_load -TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 104, 4) -#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_clone -TRACE_SYSCALL_TABLE(clone, clone, 220, 5) -#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_mbind -TRACE_SYSCALL_TABLE(mbind, mbind, 235, 6) -#endif -#ifndef OVERRIDE_TABLE_64_get_mempolicy -TRACE_SYSCALL_TABLE(get_mempolicy, get_mempolicy, 236, 5) -#endif -#ifndef OVERRIDE_TABLE_64_set_mempolicy -TRACE_SYSCALL_TABLE(set_mempolicy, set_mempolicy, 237, 3) -#endif -#ifndef OVERRIDE_TABLE_64_migrate_pages -TRACE_SYSCALL_TABLE(migrate_pages, migrate_pages, 238, 4) -#endif -#ifndef OVERRIDE_TABLE_64_move_pages -TRACE_SYSCALL_TABLE(move_pages, move_pages, 239, 6) -#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_bpf -TRACE_SYSCALL_TABLE(bpf, bpf, 280, 3) -#endif -#ifndef OVERRIDE_TABLE_64_execveat -TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5) -#endif -#ifndef OVERRIDE_TABLE_64_copy_file_range -TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 285, 6) -#endif -#ifndef OVERRIDE_TABLE_64_preadv2 -TRACE_SYSCALL_TABLE(preadv2, preadv2, 286, 6) -#endif -#ifndef OVERRIDE_TABLE_64_pwritev2 -TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 287, 6) -#endif -#ifndef OVERRIDE_TABLE_64_statx -TRACE_SYSCALL_TABLE(statx, statx, 291, 5) -#endif -#ifndef OVERRIDE_TABLE_64_io_pgetevents -TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 292, 6) -#endif -#ifndef OVERRIDE_TABLE_64_rseq -TRACE_SYSCALL_TABLE(rseq, rseq, 293, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_send_signal -TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_setup -TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_enter -TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_register -TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) -#endif -#ifndef OVERRIDE_TABLE_64_open_tree -TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) -#endif -#ifndef OVERRIDE_TABLE_64_move_mount -TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fsopen -TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fsconfig -TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fspick -TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) -#endif -#ifndef OVERRIDE_TABLE_64_clone3 -TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) -#endif -#ifndef OVERRIDE_TABLE_64_openat2 -TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) -#endif -#ifndef OVERRIDE_TABLE_64_faccessat2 -TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) -#endif -#ifndef OVERRIDE_TABLE_64_process_madvise -TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_pwait2 -TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) -#endif -#ifndef OVERRIDE_TABLE_64_mount_setattr -TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) -#endif -#ifndef OVERRIDE_TABLE_64_quotactl_fd -TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) -#endif -#ifndef OVERRIDE_TABLE_64_futex_waitv -TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h deleted file mode 100644 index f35ce2f8..00000000 --- a/include/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* - * 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/include/instrumentation/syscalls/headers/compat_syscalls_integers.h b/include/instrumentation/syscalls/headers/compat_syscalls_integers.h deleted file mode 100644 index 080a36a8..00000000 --- a/include/instrumentation/syscalls/headers/compat_syscalls_integers.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifdef CONFIG_X86_64 -#include "x86-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_ARM64 -#include "arm-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls_integers.h" -#endif diff --git a/include/instrumentation/syscalls/headers/compat_syscalls_pointers.h b/include/instrumentation/syscalls/headers/compat_syscalls_pointers.h deleted file mode 100644 index 4d893862..00000000 --- a/include/instrumentation/syscalls/headers/compat_syscalls_pointers.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifdef CONFIG_X86_64 -#include "x86-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_ARM64 -#include "arm-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls_pointers.h" -#endif diff --git a/include/instrumentation/syscalls/headers/mips-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/mips-32-syscalls_integers.h deleted file mode 100644 index 1daea752..00000000 --- a/include/instrumentation/syscalls/headers/mips-32-syscalls_integers.h +++ /dev/null @@ -1,1114 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h deleted file mode 100644 index 64021873..00000000 --- a/include/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h +++ /dev/null @@ -1,5 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h deleted file mode 100644 index 3ff5ad7f..00000000 --- a/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h +++ /dev/null @@ -1,1899 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h deleted file mode 100644 index 9a38fb5a..00000000 --- a/include/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h +++ /dev/null @@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/mips-64-syscalls_integers.h b/include/instrumentation/syscalls/headers/mips-64-syscalls_integers.h deleted file mode 100644 index 855087f6..00000000 --- a/include/instrumentation/syscalls/headers/mips-64-syscalls_integers.h +++ /dev/null @@ -1,1170 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h deleted file mode 100644 index 64021873..00000000 --- a/include/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h +++ /dev/null @@ -1,5 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h b/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h deleted file mode 100644 index 203da38e..00000000 --- a/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h +++ /dev/null @@ -1,1869 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h deleted file mode 100644 index eb2b48cf..00000000 --- a/include/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h deleted file mode 100644 index 2c8f40de..00000000 --- a/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h +++ /dev/null @@ -1,1070 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h deleted file mode 100644 index 529a4927..00000000 --- a/include/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h +++ /dev/null @@ -1,74 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h deleted file mode 100644 index d9cde3a8..00000000 --- a/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h +++ /dev/null @@ -1,1939 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h deleted file mode 100644 index fde30d27..00000000 --- a/include/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/syscalls_integers.h b/include/instrumentation/syscalls/headers/syscalls_integers.h deleted file mode 100644 index ea8e29bc..00000000 --- a/include/instrumentation/syscalls/headers/syscalls_integers.h +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifdef CONFIG_X86_64 -#include "x86-64-syscalls_integers.h" -#endif - -#ifdef CONFIG_X86_32 -#include "x86-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_ARM -#include "arm-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_PPC -#include "powerpc-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls_integers.h" -#endif - -#ifdef CONFIG_ARM64 -#include "arm-64-syscalls_integers.h" -#endif diff --git a/include/instrumentation/syscalls/headers/syscalls_integers_override.h b/include/instrumentation/syscalls/headers/syscalls_integers_override.h deleted file mode 100644 index 74bc9dcf..00000000 --- a/include/instrumentation/syscalls/headers/syscalls_integers_override.h +++ /dev/null @@ -1,225 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifndef CREATE_SYSCALL_TABLE - -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM - -/* - * The `flags` argument of the mmap syscall is split in two parts: - * - The type of mapping is described by the four least significant bits of the 4 - * bytes integer, - * - The options on the mapping are described by the remaining 28 most - * significant bits. - */ -#define MAPPING_TYPE_RESERVED_BITS 4 -#define LTTNG_MMAP_FLAGS_TO_CTF(x) ((x) >> MAPPING_TYPE_RESERVED_BITS) - -/* - * Enumeration of the mmap flags, as described in the 'mmap' - * system call man page. - */ -SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_protection, - TP_ENUM_VALUES( - ctf_enum_value("PROT_EXEC", PROT_EXEC) - ctf_enum_value("PROT_READ", PROT_READ) - ctf_enum_value("PROT_WRITE", PROT_WRITE) - ctf_enum_value("PROT_NONE", PROT_NONE) - ) -) - -SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_flags_mapping_type, - TP_ENUM_VALUES( - ctf_enum_value("MAP_SHARED", MAP_SHARED) - ctf_enum_value("MAP_PRIVATE", MAP_PRIVATE) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) - ctf_enum_value("MAP_SHARED_VALIDATE", MAP_SHARED_VALIDATE) -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) */ - ) -) - -/* - * Shift the values of the options so we can read them from the `flags` integer - * directly. - */ -SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_flags_options, - TP_ENUM_VALUES( - ctf_enum_value("", 0) - -#if defined (MAP_32BIT) && MAP_32BIT != 0 - ctf_enum_value("MAP_32BIT", LTTNG_MMAP_FLAGS_TO_CTF(MAP_32BIT)) -#endif /* defined (MAP_32BIT) && MAP_32BIT != 0 */ - - ctf_enum_value("MAP_ANONYMOUS", LTTNG_MMAP_FLAGS_TO_CTF(MAP_ANONYMOUS)) - ctf_enum_value("MAP_DENYWRITE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_DENYWRITE)) - ctf_enum_value("MAP_EXECUTABLE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_EXECUTABLE)) - ctf_enum_value("MAP_FIXED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_FIXED)) - -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,17,0)) - ctf_enum_value("MAP_FIXED_NOREPLACE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_FIXED_NOREPLACE)) -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,17,0)) */ - - ctf_enum_value("MAP_GROWSDOWN", LTTNG_MMAP_FLAGS_TO_CTF(MAP_GROWSDOWN)) - ctf_enum_value("MAP_HUGETLB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGETLB)) - -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) - -#if defined (MAP_HUGE_2MB) && MAP_HUGE_2MB != 0 - ctf_enum_value("MAP_HUGE_2MB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGE_2MB)) -#endif /* defined (MAP_HUGE_2MB) && MAP_HUGE_2MB != 0 */ - -#if defined (MAP_HUGE_1GB) && MAP_HUGE_1GB != 0 - ctf_enum_value("MAP_HUGE_1GB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGE_1GB)) -#endif /* defined (MAP_HUGE_1GB) && MAP_HUGE_1GB != 0 */ - -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) */ - - ctf_enum_value("MAP_LOCKED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_LOCKED)) - ctf_enum_value("MAP_NONBLOCK", LTTNG_MMAP_FLAGS_TO_CTF(MAP_NONBLOCK)) - ctf_enum_value("MAP_NORESERVE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_NORESERVE)) - ctf_enum_value("MAP_POPULATE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_POPULATE)) - ctf_enum_value("MAP_STACK", LTTNG_MMAP_FLAGS_TO_CTF(MAP_STACK)) - -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) - ctf_enum_value("MAP_SYNC", LTTNG_MMAP_FLAGS_TO_CTF(MAP_SYNC)) -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) */ - -#if defined (MAP_UNINITIALIZED) && MAP_UNINITIALIZED != 0 - ctf_enum_value("MAP_UNINITIALIZED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_UNINITIALIZED)) -#endif /* defined (MAP_UNINITIALIZED) && MAP_UNINITIALIZED != 0 */ - ) -) - -#define LTTNG_MMAP_FLAGS_TYPE \ - lttng_kernel_static_event_field("type", \ - lttng_kernel_static_type_enum(&__enum_lttng_mmap_flags_mapping_type, \ - lttng_kernel_static_type_integer(4, 1, 0, __BYTE_ORDER, 16)), \ - false, false) - -#define LTTNG_MMAP_FLAGS_OPTIONS \ - lttng_kernel_static_event_field("options", \ - lttng_kernel_static_type_enum(&__enum_lttng_mmap_flags_options, \ - lttng_kernel_static_type_integer(28, 1, 0, __BYTE_ORDER, 16)), \ - false, false) - -#if (__BYTE_ORDER == __LITTLE_ENDIAN) -#define LTTNG_MMAP_FLAGS \ -lttng_kernel_static_event_field_array( \ - [0] = LTTNG_MMAP_FLAGS_TYPE, \ - [1] = LTTNG_MMAP_FLAGS_OPTIONS, \ -) -#else -#define LTTNG_MMAP_FLAGS \ -lttng_kernel_static_event_field_array( \ - [0] = LTTNG_MMAP_FLAGS_OPTIONS, \ - [1] = LTTNG_MMAP_FLAGS_TYPE, \ -) -#endif - -#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ - -#define OVERRIDE_32_mmap -#define OVERRIDE_64_mmap -SC_LTTNG_TRACEPOINT_EVENT(mmap, - TP_PROTO(sc_exit(unsigned 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_hex(unsigned long, ret, ret)) - sc_in(ctf_integer_hex(unsigned long, addr, addr)) - sc_in(ctf_integer(size_t, len, len)) -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM - /* - * Use a custom field here so that tracer writes a single - * integer and the work of splitting it up in two fields is - * left to the trace reader. - */ - sc_in(ctf_enum(lttng_mmap_protection, int, prot, prot)) - sc_in( - ctf_custom_field( - ctf_custom_type( - lttng_kernel_static_type_struct(2, LTTNG_MMAP_FLAGS, lttng_alignof(uint32_t) * CHAR_BIT) - ), - flags, - ctf_custom_code( - ctf_integer_type(uint32_t, flags) - ) - ) - ) -#else - sc_in(ctf_integer(int, prot, prot)) - sc_in(ctf_integer(int, flags, flags)) -#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(off_t, offset, off)) - ) -) - -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM -/* - * Enumeration of the open flags, as described in the 'open' - * system call man page. - */ -SC_LTTNG_TRACEPOINT_ENUM(lttng_fcntl_cmd_flags, - TP_ENUM_VALUES( - ctf_enum_value("F_DUPFD", F_DUPFD) - ctf_enum_value("F_GETFD", F_GETFD) - ctf_enum_value("F_SETFD", F_SETFD) - ctf_enum_value("F_GETFL", F_GETFL) - ctf_enum_value("F_SETFL", F_SETFL) - ctf_enum_value("F_GETLK", F_GETLK) - ctf_enum_value("F_SETLK", F_SETLK) - ctf_enum_value("F_SETLKW", F_SETLKW) - ctf_enum_value("F_SETOWN", F_SETOWN) - ctf_enum_value("F_GETOWN", F_GETOWN) - ctf_enum_value("F_SETSIG", F_SETSIG) - ctf_enum_value("F_GETSIG", F_GETSIG) -#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) - ctf_enum_value("F_GETLK64", F_GETLK64) - ctf_enum_value("F_SETLK64", F_SETLK64) - ctf_enum_value("F_SETLKW64", F_SETLKW64) -#endif /* #if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) */ - ctf_enum_value("F_SETOWN_EX", F_SETOWN_EX) - ctf_enum_value("F_GETOWN_EX", F_GETOWN_EX) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,6,0)) - ctf_enum_value("F_GETOWNER_UIDS", F_GETOWNER_UIDS) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,6,0)) */ -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) - ctf_enum_value("F_OFD_GETLK", F_OFD_GETLK) - ctf_enum_value("F_OFD_SETLK", F_OFD_SETLK) - ctf_enum_value("F_OFD_SETLKW", F_OFD_SETLKW) -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) */ - ctf_enum_value("F_SETLEASE", F_SETLEASE) - ctf_enum_value("F_GETLEASE", F_GETLEASE) - ctf_enum_value("F_NOTIFY", F_NOTIFY) - ctf_enum_value("F_CANCELLK", F_CANCELLK) - ctf_enum_value("F_DUPFD_CLOEXEC", F_DUPFD_CLOEXEC) - ctf_enum_value("F_SETPIPE_SZ", F_SETPIPE_SZ) - ctf_enum_value("F_GETPIPE_SZ", F_GETPIPE_SZ) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0)) - ctf_enum_value("F_ADD_SEALS", F_ADD_SEALS) - ctf_enum_value("F_GET_SEALS", F_GET_SEALS) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0)) */ -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0)) - ctf_enum_value("F_GET_RW_HINT", F_GET_RW_HINT) - ctf_enum_value("F_SET_RW_HINT", F_SET_RW_HINT) - ctf_enum_value("F_GET_FILE_RW_HINT", F_GET_FILE_RW_HINT) - ctf_enum_value("F_SET_FILE_RW_HINT", F_SET_FILE_RW_HINT) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0)) */ - ) -) - -#define OVERRIDE_32_fcntl -#define 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_enum(lttng_fcntl_cmd_flags, unsigned int, cmd, cmd)) - sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/syscalls_pointers.h b/include/instrumentation/syscalls/headers/syscalls_pointers.h deleted file mode 100644 index a2ee3127..00000000 --- a/include/instrumentation/syscalls/headers/syscalls_pointers.h +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifdef CONFIG_X86_64 -#include "x86-64-syscalls_pointers.h" -#endif - -#ifdef CONFIG_X86_32 -#include "x86-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_ARM -#include "arm-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_PPC -#include "powerpc-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls_pointers.h" -#endif - -#ifdef CONFIG_ARM64 -#include "arm-64-syscalls_pointers.h" -#endif diff --git a/include/instrumentation/syscalls/headers/syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/syscalls_pointers_override.h deleted file mode 100644 index 00e5990c..00000000 --- a/include/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ /dev/null @@ -1,1112 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_32_execve -#define OVERRIDE_64_execve -SC_LTTNG_TRACEPOINT_EVENT(execve, - TP_PROTO(sc_exit(long ret,) const char *filename, char *const *argv, char *const *envp), - TP_ARGS(sc_exit(ret,) filename, argv, envp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_user_string(filename, filename)) - sc_in(ctf_integer_hex(char *const *, argv, argv)) - sc_in(ctf_integer_hex(char *const *, envp, envp)) - ) -) - -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM - -/* - * Clone()'s `flags` field has two parts: - * 1. exit signal: the least significant byte of the `unsigned long` is - * the signal the kernel must send to the parent process on child - * exit, - * 2. clone options: the remaining bytes of the `unsigned long` is used a - * bitwise flag for the clone options. - */ -#define CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS 8 -#define LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(x) ((x) >> CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS) - -SC_LTTNG_TRACEPOINT_ENUM(lttng_clone_exit_signal_flags, - TP_ENUM_VALUES( - ctf_enum_value("SIGHUP", SIGHUP) - ctf_enum_value("SIGINT", SIGINT) - ctf_enum_value("SIGQUIT", SIGQUIT) - ctf_enum_value("SIGILL", SIGILL) - ctf_enum_value("SIGTRAP", SIGTRAP) - ctf_enum_value("SIGABRT", SIGABRT) - ctf_enum_value("SIGIOT", SIGIOT) - ctf_enum_value("SIGBUS", SIGBUS) -#ifdef SIGEMT - ctf_enum_value("SIGEMT", SIGEMT) -#endif /* #ifdef SIGEMT */ - ctf_enum_value("SIGFPE", SIGFPE) - ctf_enum_value("SIGKILL", SIGKILL) - ctf_enum_value("SIGUSR1", SIGUSR1) - ctf_enum_value("SIGSEGV", SIGSEGV) - ctf_enum_value("SIGUSR2", SIGUSR2) - ctf_enum_value("SIGPIPE", SIGPIPE) - ctf_enum_value("SIGALRM", SIGALRM) - ctf_enum_value("SIGTERM", SIGTERM) -#ifdef SIGSTKFLT - ctf_enum_value("SIGSTKFLT", SIGSTKFLT) -#endif /* #ifdef SIGSTKFLT */ - ctf_enum_value("SIGCHLD", SIGCHLD) -#ifdef SIGCLD - ctf_enum_value("SIGCLD", SIGCLD) -#endif /* #ifdef SIGCLD */ - ctf_enum_value("SIGCONT", SIGCONT) - ctf_enum_value("SIGSTOP", SIGSTOP) - ctf_enum_value("SIGTSTP", SIGTSTP) - ctf_enum_value("SIGTTIN", SIGTTIN) - ctf_enum_value("SIGTTOU", SIGTTOU) - ctf_enum_value("SIGURG", SIGURG) - ctf_enum_value("SIGXCPU", SIGXCPU) - ctf_enum_value("SIGXFSZ", SIGXFSZ) - ctf_enum_value("SIGVTALR", SIGVTALRM) - ctf_enum_value("SIGPROF", SIGPROF) - ctf_enum_value("SIGWINCH", SIGWINCH) - ctf_enum_value("SIGIO", SIGIO) - ctf_enum_value("SIGPOLL", SIGPOLL) - ctf_enum_value("SIGPWR", SIGPWR) -#ifdef SIGINFO - ctf_enum_value("SIGINFO", SIGINFO) -#endif /* #ifdef SIGINFO */ -#ifdef SIGLOST - ctf_enum_value("SIGLOST", SIGLOST) -#endif /* #ifdef SIGLOST */ - ctf_enum_value("SIGSYS", SIGSYS) -#ifdef SIGUNUSED - ctf_enum_value("SIGUNUSED", SIGUNUSED) -#endif /* #ifdef SIGUNUSED */ - ) -) - -SC_LTTNG_TRACEPOINT_ENUM(lttng_clone_option_flags, - TP_ENUM_VALUES( - ctf_enum_value("CLONE_CHILD_CLEARTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CHILD_CLEARTID)) - ctf_enum_value("CLONE_CHILD_SETTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CHILD_SETTID)) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,5,0)) - ctf_enum_value("CLONE_CLEAR_SIGHAND", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CLEAR_SIGHAND)) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,5,0)) */ - ctf_enum_value("CLONE_DETACHED", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_DETACHED)) - ctf_enum_value("CLONE_FILES", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_FILES)) - ctf_enum_value("CLONE_FS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_FS)) - ctf_enum_value("CLONE_IO", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_IO)) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) - ctf_enum_value("CLONE_NEWCGROUP", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWCGROUP)) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) */ - ctf_enum_value("CLONE_NEWIPC", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWIPC)) - ctf_enum_value("CLONE_NEWNET", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWNET)) - ctf_enum_value("CLONE_NEWNS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWNS)) - ctf_enum_value("CLONE_NEWPID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWPID)) - ctf_enum_value("CLONE_NEWUSER", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWUSER)) - ctf_enum_value("CLONE_NEWUTS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWUTS)) - ctf_enum_value("CLONE_PARENT", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PARENT)) - ctf_enum_value("CLONE_PARENT_SETTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PARENT_SETTID)) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) - ctf_enum_value("CLONE_PIDFD", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PIDFD)) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) */ - ctf_enum_value("CLONE_PTRACE", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PTRACE)) - ctf_enum_value("CLONE_SETTLS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SETTLS)) - ctf_enum_value("CLONE_SIGHAND", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SIGHAND)) - ctf_enum_value("CLONE_SYSVSEM", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SYSVSEM)) - ctf_enum_value("CLONE_THREAD", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_THREAD)) - ctf_enum_value("CLONE_UNTRACED", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_UNTRACED)) - ctf_enum_value("CLONE_VFORK", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_VFORK)) - ctf_enum_value("CLONE_VM", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_VM)) - ) -) - -#define LTTNG_CLONE_FLAGS_EXIT_SIGNAL \ - lttng_kernel_static_event_field("exit_signal", \ - lttng_kernel_static_type_enum(&__enum_lttng_clone_exit_signal_flags, \ - lttng_kernel_static_type_integer(CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS, \ - 1, 0, __BYTE_ORDER, 16)), \ - false, false) - -#define LTTNG_CLONE_FLAGS_OPTIONS \ - lttng_kernel_static_event_field("options", \ - lttng_kernel_static_type_enum(&__enum_lttng_clone_option_flags, \ - lttng_kernel_static_type_integer( \ - sizeof(unsigned long) * CHAR_BIT - CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS, \ - 1, 0, __BYTE_ORDER, 16)), \ - false, false) - -#if (__BYTE_ORDER == __LITTLE_ENDIAN) -#define LTTNG_CLONE_FLAGS \ -lttng_kernel_static_event_field_array( \ - [0] = LTTNG_CLONE_FLAGS_EXIT_SIGNAL, \ - [1] = LTTNG_CLONE_FLAGS_OPTIONS, \ -) -#else -#define LTTNG_CLONE_FLAGS \ -lttng_kernel_static_event_field_array( \ - [0] = LTTNG_CLONE_FLAGS_OPTIONS, \ - [1] = LTTNG_CLONE_FLAGS_EXIT_SIGNAL, \ -) -#endif - -#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ - -#define OVERRIDE_32_clone -#define OVERRIDE_64_clone -SC_LTTNG_TRACEPOINT_EVENT(clone, - TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, - void __user *parent_tid, - void __user *child_tid), - TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tid, child_tid), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in( -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM - ctf_custom_field( - ctf_custom_type( - lttng_kernel_static_type_struct(2, LTTNG_CLONE_FLAGS, lttng_alignof(unsigned long) * CHAR_BIT) - ), - flags, - ctf_custom_code( - ctf_integer_type(unsigned long, clone_flags) - ) - ) -#else - ctf_integer_hex(unsigned long, flags, clone_flags) -#endif - ) - sc_in(ctf_integer_hex(unsigned long, newsp, newsp)) - sc_in(ctf_integer_hex(void *, parent_tid, parent_tid)) - sc_in(ctf_integer_hex(void *, child_tid, child_tid)) - ) -) - -/* present in 32, missing in 64 due to old kernel headers */ -#define OVERRIDE_32_getcpu -#define OVERRIDE_64_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned __user *cpup, unsigned __user *nodep, void *tcache), - TP_ARGS(sc_exit(ret,) cpup, nodep, tcache), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_out(ctf_integer_hex(unsigned *, cpup, cpup)) - sc_out(ctf_integer_hex(unsigned *, nodep, nodep)) - sc_inout(ctf_integer_hex(void *, tcache, tcache)) - ) -) - -#define OVERRIDE_32_pipe2 -#define 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_user_array(int, fildes, fildes, 2)) - sc_in(ctf_integer(int, flags, flags)) - ) -) - -#define LTTNG_SYSCALL_SELECT_locvar \ - unsigned long *fds_in, *fds_out, *fds_ex; \ - unsigned long nr_bytes, nr_ulong; \ - uint8_t overflow; - -#define LTTNG_SYSCALL_SELECT_code_pre \ - sc_inout( \ - { \ - int err; \ - unsigned int n_in_bytes; \ - \ - tp_locvar->fds_in = NULL; \ - tp_locvar->fds_out = NULL; \ - tp_locvar->fds_ex = NULL; \ - tp_locvar->overflow = 0; \ - \ - sc_out( \ - if (ret <= 0) \ - goto error; \ - ) \ - \ - if (n <= 0) \ - goto error; \ - \ - /* On error or bogus input, don't copy anything. */ \ - if (n >__FD_SETSIZE) \ - goto error; \ - \ - n_in_bytes = DIV_ROUND_UP((unsigned int) n, BITS_PER_BYTE); \ - \ - /* \ - * Limit atomic memory allocation to one page, since n \ - * is limited to 1024 and the smallest page size on Linux \ - * is 4k, this should not happen, don't try to make it work. \ - */ \ - if (n_in_bytes > PAGE_SIZE) { \ - WARN_ON_ONCE(1); \ - /* Inform the user that we did not output everything. */ \ - tp_locvar->overflow = 1; \ - goto error; \ - } else { \ - tp_locvar->nr_bytes = n_in_bytes; \ - tp_locvar->nr_ulong = DIV_ROUND_UP(n_in_bytes, \ - sizeof(unsigned long)); \ - } \ - \ - if (inp) { \ - tp_locvar->fds_in = lttng_tp_mempool_alloc( \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (!tp_locvar->fds_in) \ - goto error; \ - \ - err = lib_ring_buffer_copy_from_user_check_nofault( \ - tp_locvar->fds_in, inp, \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (err != 0) \ - goto error; \ - } \ - if (outp) { \ - tp_locvar->fds_out = lttng_tp_mempool_alloc( \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (!tp_locvar->fds_out) \ - goto error; \ - \ - err = lib_ring_buffer_copy_from_user_check_nofault( \ - tp_locvar->fds_out, outp, \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (err != 0) \ - goto error; \ - } \ - if (exp) { \ - tp_locvar->fds_ex = lttng_tp_mempool_alloc( \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (!tp_locvar->fds_ex) \ - goto error; \ - \ - err = lib_ring_buffer_copy_from_user_check_nofault( \ - tp_locvar->fds_ex, exp, \ - tp_locvar->nr_ulong * sizeof(unsigned long)); \ - if (err != 0) \ - goto error; \ - } \ - goto end; \ - \ -error: \ - tp_locvar->nr_bytes = 0; \ - tp_locvar->nr_ulong = 0; \ -end: ; /* Label at end of compound statement. */ \ - } \ - ) - -#define LTTNG_SYSCALL_SELECT_fds_field_LE(name, input) \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 10) \ - ), \ - _ ## name ## _length, \ - ctf_custom_code( \ - if (input) { \ - ctf_integer_type(uint8_t, tp_locvar->nr_bytes) \ - ctf_align(uint8_t) \ - } else { \ - ctf_integer_type(uint8_t, 0) \ - ctf_align(uint8_t) \ - } \ - ) \ - ) \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_sequence(NULL, \ - lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16), \ - 0, \ - none) \ - ), \ - name, \ - ctf_custom_code( \ - unsigned int src; \ - unsigned int nr_bytes_out = 0; \ - \ - if (!input) \ - goto skip_##name; \ - \ - for (src = 0; src < tp_locvar->nr_ulong; src++) { \ - int dst; \ - for (dst = 0; dst < sizeof(long); dst++) { \ - if (nr_bytes_out++ >= tp_locvar->nr_bytes) { \ - goto skip_##name; \ - } \ - ctf_user_integer_type(uint8_t, \ - ((uint8_t __user *) (input->fds_bits + src))[dst]); \ - } \ - } \ - skip_##name: ; \ - ) \ - ) - -#define LTTNG_SYSCALL_SELECT_fds_field_BE(name, input) \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 10) \ - ), \ - _ ## name ## _length, \ - ctf_custom_code( \ - if (input) { \ - ctf_integer_type(uint8_t, tp_locvar->nr_bytes) \ - ctf_align(uint8_t) \ - } else { \ - ctf_integer_type(uint8_t, 0) \ - ctf_align(uint8_t) \ - } \ - ) \ - ) \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_sequence(NULL, \ - lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16), \ - 0, \ - none) \ - ), \ - name, \ - ctf_custom_code( \ - unsigned int src, nr_bytes_out = 0; \ - \ - if (!input) \ - goto skip_##name; \ - \ - for (src = 0; src < tp_locvar->nr_ulong; src++) { \ - int dst; \ - for (dst = sizeof(long); dst >= 0; dst--) { \ - if (nr_bytes_out++ >= tp_locvar->nr_bytes) { \ - goto skip_##name; \ - } \ - ctf_user_integer_type(uint8_t, \ - ((uint8_t __user *) (input->fds_bits + src))[dst]); \ - } \ - } \ - skip_##name: ; \ - ) \ - ) - -#define LTTNG_SYSCALL_SELECT_code_post \ - lttng_tp_mempool_free(tp_locvar->fds_in); \ - lttng_tp_mempool_free(tp_locvar->fds_out); \ - lttng_tp_mempool_free(tp_locvar->fds_ex); - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) -#define OVERRIDE_32_select -#define OVERRIDE_64_select -SC_LTTNG_TRACEPOINT_EVENT_CODE(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set __user *inp, fd_set __user *outp, - fd_set __user *exp, struct timeval *tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - TP_locvar( - LTTNG_SYSCALL_SELECT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_SELECT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, n, n)) - sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - sc_inout(ctf_integer(struct timeval *, tvp, tvp)) - - sc_inout( -#if (__BYTE_ORDER == __LITTLE_ENDIAN) - LTTNG_SYSCALL_SELECT_fds_field_LE(readfds, inp) - LTTNG_SYSCALL_SELECT_fds_field_LE(writefds, outp) - LTTNG_SYSCALL_SELECT_fds_field_LE(exceptfds, exp) -#else - LTTNG_SYSCALL_SELECT_fds_field_BE(readfds, inp) - LTTNG_SYSCALL_SELECT_fds_field_BE(writefds, outp) - LTTNG_SYSCALL_SELECT_fds_field_BE(exceptfds, exp) -#endif - ) - ), - TP_code_post( - LTTNG_SYSCALL_SELECT_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) -#define OVERRIDE_32_pselect6 -#define OVERRIDE_64_pselect6 -SC_LTTNG_TRACEPOINT_EVENT_CODE(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set __user * inp, fd_set __user * outp, - fd_set __user * exp, struct timeval __user * tvp, void __user * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp, sig), - TP_locvar( - LTTNG_SYSCALL_SELECT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_SELECT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, n, n)) - sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - sc_inout(ctf_integer(struct timeval *, tvp, tvp)) - sc_in(ctf_integer_hex(void *, sig, sig)) - - sc_inout( -#if (__BYTE_ORDER == __LITTLE_ENDIAN) - LTTNG_SYSCALL_SELECT_fds_field_LE(readfds, inp) - LTTNG_SYSCALL_SELECT_fds_field_LE(writefds, outp) - LTTNG_SYSCALL_SELECT_fds_field_LE(exceptfds, exp) -#else - LTTNG_SYSCALL_SELECT_fds_field_BE(readfds, inp) - LTTNG_SYSCALL_SELECT_fds_field_BE(writefds, outp) - LTTNG_SYSCALL_SELECT_fds_field_BE(exceptfds, exp) -#endif - ) - ), - TP_code_post( - LTTNG_SYSCALL_SELECT_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ - -#ifdef LTTNG_CREATE_FIELD_METADATA -#ifndef ONCE_LTTNG_TRACE_POLL_H -#define ONCE_LTTNG_TRACE_POLL_H - -#define LTTNG_POLL_NRFLAGS (POLLNVAL + 1) -#define POLL_FLAGS_PADDING_SIZE (sizeof(uint8_t) * BITS_PER_BYTE) - \ - ilog2(LTTNG_POLL_NRFLAGS - 1) - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -/* - * Only extract the values specified by iBCS2 for now. - */ -static const struct lttng_kernel_event_field *lttng_pollfd_flag_fields[] = { - [ilog2(POLLIN)] = lttng_kernel_static_event_field("POLLIN", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(POLLPRI)] = lttng_kernel_static_event_field("POLLPRI", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(POLLOUT)] = lttng_kernel_static_event_field("POLLOUT", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(POLLERR)] = lttng_kernel_static_event_field("POLLERR", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(POLLHUP)] = lttng_kernel_static_event_field("POLLHUP", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(POLLNVAL)] = lttng_kernel_static_event_field("POLLNVAL", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(LTTNG_POLL_NRFLAGS)] = lttng_kernel_static_event_field("padding", - lttng_kernel_static_type_integer(POLL_FLAGS_PADDING_SIZE, 1, 0, __LITTLE_ENDIAN, 10), - false, false), -}; - -static_assert(((ARRAY_SIZE(lttng_pollfd_flag_fields) - 1) + POLL_FLAGS_PADDING_SIZE) == sizeof(uint8_t) * BITS_PER_BYTE); - -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_pollfd_flag_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_pollfd_flag_fields), lttng_pollfd_flag_fields, 0))) - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -static const struct lttng_kernel_event_field *lttng_pollfd_fields[] = { - [0] = lttng_kernel_static_event_field("fd", lttng_kernel_static_type_integer_from_type(int, __BYTE_ORDER, 10), - false, false), - [1] = lttng_kernel_static_event_field("raw_events", lttng_kernel_static_type_integer_from_type(uint16_t, __BYTE_ORDER, 16), - false, false), - [2] = lttng_kernel_static_event_field("events", - (const struct lttng_kernel_type_common *) <tng_pollfd_flag_fields_struct, - false, false), -}; -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_pollfd_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_pollfd_fields), lttng_pollfd_fields, 0))) - -#endif /* ONCE_LTTNG_TRACE_POLL_H */ -#endif /* LTTNG_CREATE_FIELD_METADATA */ - -#define LTTNG_SYSCALL_POLL_locvar \ - unsigned int fds_length, fds_max_len, alloc_fds; \ - struct pollfd *fds; \ - uint8_t overflow; - -#define LTTNG_SYSCALL_POLL_code_pre \ - tp_locvar->fds = NULL; \ - tp_locvar->overflow = 0; \ - \ - sc_in( \ - if (nfds > PAGE_SIZE / sizeof(struct pollfd)) { \ - tp_locvar->fds_length = PAGE_SIZE / sizeof(struct pollfd); \ - tp_locvar->fds_max_len = PAGE_SIZE / sizeof(struct pollfd); \ - tp_locvar->overflow = 1; \ - } else { \ - tp_locvar->fds_length = nfds; \ - tp_locvar->fds_max_len = nfds; \ - } \ - tp_locvar->alloc_fds = tp_locvar->fds_length * sizeof(struct pollfd); \ - ) \ - /* \ - * On exit, the number of active FDs is determined by ret, \ - * nfds stays the same as the entry, but we only want to \ - * output the FDs that are relevant. \ - */ \ - sc_out( \ - if (ret <= 0 || ret > nfds) \ - goto error; \ - \ - if (nfds > PAGE_SIZE / sizeof(struct pollfd)) { \ - tp_locvar->fds_length = PAGE_SIZE / sizeof(struct pollfd); \ - tp_locvar->fds_max_len = PAGE_SIZE / sizeof(struct pollfd); \ - tp_locvar->overflow = 1; \ - } else { \ - tp_locvar->fds_length = ret; \ - tp_locvar->fds_max_len = nfds; \ - } \ - tp_locvar->alloc_fds = tp_locvar->fds_max_len * sizeof(struct pollfd); \ - ) \ - { \ - int err; \ - \ - tp_locvar->fds = lttng_tp_mempool_alloc(tp_locvar->alloc_fds); \ - if (!tp_locvar->fds) \ - goto error; \ - err = lib_ring_buffer_copy_from_user_check_nofault( \ - tp_locvar->fds, ufds, tp_locvar->alloc_fds); \ - if (err != 0) \ - goto error; \ - } \ - goto end; \ - \ -error: \ - tp_locvar->fds_length = 0; \ - tp_locvar->fds_max_len = 0; \ -end: \ - ; - -#define LTTNG_SYSCALL_POLL_fds_field \ - sc_in( \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_sequence("fds_length", \ - (const struct lttng_kernel_type_common *) <tng_pollfd_fields_struct, \ - 0, \ - none) \ - ), \ - fds, \ - ctf_custom_code( \ - uint32_t i; \ - \ - ctf_align(int) /* Align on largest field in struct. */ \ - for (i = 0; i < tp_locvar->fds_length; i++) { \ - ctf_integer_type(int, tp_locvar->fds[i].fd) \ - ctf_integer_type(short, tp_locvar->fds[i].events) \ - ctf_integer_bitfield_type(uint8_t, \ - (uint8_t) tp_locvar->fds[i].events) \ - } \ - ) \ - ) \ - ) \ - sc_out( \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_sequence("fds_length", \ - (const struct lttng_kernel_type_common *) <tng_pollfd_fields_struct, \ - 0, \ - none) \ - ), \ - fds, \ - ctf_custom_code( \ - unsigned int i, nr = 0; \ - \ - ctf_align(int) /* Align on largest field in struct. */ \ - /* \ - * Iterate over the complete array, but only output \ - * "ret" active FDs. \ - */ \ - for (i = 0; i < tp_locvar->fds_max_len; i++) { \ - if (!tp_locvar->fds[i].revents) \ - continue; \ - if (nr++ >= tp_locvar->fds_length) \ - break; \ - ctf_integer_type(int, tp_locvar->fds[i].fd) \ - ctf_integer_type(short, tp_locvar->fds[i].revents) \ - ctf_integer_bitfield_type(uint8_t, \ - (uint8_t) tp_locvar->fds[i].revents) \ - } \ - /* \ - * If there is a discrepancy between ret and the \ - * content of revents (e.g. caused by userspace corrupting \ - * the array from a concurrent thread), we have to output \ - * zeros to keep the trace readable. \ - */ \ - for (i = nr; i < tp_locvar->fds_length; i++) { \ - ctf_integer_type(int, 0) \ - ctf_integer_type(short, 0) \ - ctf_integer_bitfield_type(uint8_t, 0) \ - } \ - ) \ - ) \ - ) - -#define LTTNG_SYSCALL_POLL_code_post \ - lttng_tp_mempool_free(tp_locvar->fds); - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) -#define OVERRIDE_32_poll -#define OVERRIDE_64_poll -SC_LTTNG_TRACEPOINT_EVENT_CODE(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd __user * ufds, - unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_locvar( - LTTNG_SYSCALL_POLL_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_POLL_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, timeout_msecs, timeout_msecs)) - sc_inout(ctf_integer(unsigned int, nfds, nfds)) - sc_inout(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) - sc_in(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - LTTNG_SYSCALL_POLL_fds_field - ), - TP_code_post( - LTTNG_SYSCALL_POLL_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) -#define OVERRIDE_32_ppoll -#define OVERRIDE_64_ppoll -SC_LTTNG_TRACEPOINT_EVENT_CODE(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd __user * 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_locvar( - LTTNG_SYSCALL_POLL_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_POLL_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - 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)) - sc_inout(ctf_integer(unsigned int, nfds, nfds)) - sc_inout(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) - sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - LTTNG_SYSCALL_POLL_fds_field - ), - TP_code_post( - LTTNG_SYSCALL_POLL_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ - -#include - -SC_LTTNG_TRACEPOINT_ENUM(lttng_epoll_op, - TP_ENUM_VALUES( - ctf_enum_value("EPOLL_CTL_ADD", EPOLL_CTL_ADD) - ctf_enum_value("EPOLL_CTL_DEL", EPOLL_CTL_DEL) - ctf_enum_value("EPOLL_CTL_MOD", EPOLL_CTL_MOD) - ) -) - -#ifdef LTTNG_CREATE_FIELD_METADATA - -#ifndef ONCE_LTTNG_TRACE_EPOLL_CTL_H -#define ONCE_LTTNG_TRACE_EPOLL_CTL_H - -#define LTTNG_EPOLL_NRFLAGS (POLLHUP + 1) -#define EPOLL_FLAGS_PADDING_SIZE (sizeof(uint8_t) * BITS_PER_BYTE) - \ - ilog2(LTTNG_EPOLL_NRFLAGS - 1) - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -/* - * Only extract the values specified by iBCS2 for now. - */ -static const struct lttng_kernel_event_field *lttng_epoll_ctl_events_fields[] = { - /* 0x0001 */ - [ilog2(POLLIN)] = lttng_kernel_static_event_field("EPOLLIN", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - /* 0x0002 */ - [ilog2(POLLPRI)] = lttng_kernel_static_event_field("EPOLLPRI", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - /* 0x0004 */ - [ilog2(POLLOUT)] = lttng_kernel_static_event_field("EPOLLOUT", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - /* 0x0008 */ - [ilog2(POLLERR)] = lttng_kernel_static_event_field("EPOLLERR", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - /* 0x0010 */ - [ilog2(POLLHUP)] = lttng_kernel_static_event_field("EPOLLHUP", - lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), - false, false), - [ilog2(LTTNG_EPOLL_NRFLAGS)] = lttng_kernel_static_event_field("padding", - lttng_kernel_static_type_integer(EPOLL_FLAGS_PADDING_SIZE, 1, 0, __LITTLE_ENDIAN, 10), - false, false), -}; -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_ctl_events_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_ctl_events_fields), lttng_epoll_ctl_events_fields, 0))) - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -static const struct lttng_kernel_event_field *lttng_epoll_data_fields[] = { - [0] = lttng_kernel_static_event_field("u64", - lttng_kernel_static_type_integer_from_type(uint64_t, __BYTE_ORDER, 16), - false, false), - [1] = lttng_kernel_static_event_field("fd", - lttng_kernel_static_type_integer_from_type(int, __BYTE_ORDER, 10), - false, false), -}; -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_data_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_data_fields), lttng_epoll_data_fields, 0))) - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -static const struct lttng_kernel_event_field *epoll_ctl_fields[] = { - [0] = lttng_kernel_static_event_field("data_union", - (const struct lttng_kernel_type_common *) <tng_epoll_data_fields_struct, - false, false), - [1] = lttng_kernel_static_event_field("raw_events", - lttng_kernel_static_type_integer_from_type(uint32_t, __BYTE_ORDER, 16), - false, false), - [2] = lttng_kernel_static_event_field("events", - (const struct lttng_kernel_type_common *) <tng_epoll_ctl_events_fields_struct, - false, false), -}; -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct epoll_ctl_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(epoll_ctl_fields), epoll_ctl_fields, 0))) - -#endif /* ONCE_LTTNG_TRACE_EPOLL_CTL_H */ -#endif /* LTTNG_CREATE_FIELD_METADATA */ - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) -#define OVERRIDE_32_epoll_ctl -#define OVERRIDE_64_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, - struct epoll_event __user * uevent), - TP_ARGS(sc_exit(ret,) epfd, op, fd, uevent), - TP_locvar( - struct epoll_event event; - int err; - ), - TP_code_pre( - tp_locvar->err = lib_ring_buffer_copy_from_user_check_nofault( - &tp_locvar->event, uevent, sizeof(struct epoll_event)); - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, epfd, epfd)) - sc_in(ctf_enum(lttng_epoll_op, int, op_enum, op)) - sc_in(ctf_integer(int, fd, fd)) - sc_in( - ctf_custom_field( - ctf_custom_type( - (const struct lttng_kernel_type_common *) &epoll_ctl_fields_struct - ), - event, - ctf_custom_code( - ctf_align(uint64_t) - if (!tp_locvar->err) { - ctf_integer_type(uint64_t, tp_locvar->event.data) - ctf_integer_type(int, tp_locvar->event.data) - ctf_integer_bitfield_type(uint32_t, - tp_locvar->event.events) - ctf_integer_bitfield_type(uint8_t, - (uint8_t) tp_locvar->event.events) - } else { - ctf_integer_type(uint64_t, 0) - ctf_integer_type(int, 0) - ctf_integer_bitfield_type(uint32_t, 0) - ctf_integer_bitfield_type(uint8_t, 0) - } - ) - ) - ) - ), - TP_code_post() -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ - -#ifdef LTTNG_CREATE_FIELD_METADATA -#ifndef ONCE_LTTNG_TRACE_EPOLL_H -#define ONCE_LTTNG_TRACE_EPOLL_H - -#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN -static const struct lttng_kernel_event_field *lttng_epoll_wait_fields[] = lttng_kernel_static_event_field_array( - [0] = lttng_kernel_static_event_field("data_union", - (const struct lttng_kernel_type_common *) <tng_epoll_data_fields_struct, - false, false), - [1] = lttng_kernel_static_event_field("raw_events", lttng_kernel_static_type_integer_from_type(uint32_t, __BYTE_ORDER, 16), - false, false), - [2] = lttng_kernel_static_event_field("events", - (const struct lttng_kernel_type_common *) <tng_epoll_ctl_events_fields_struct, - false, false), -); - -static_assert(((ARRAY_SIZE(lttng_epoll_ctl_events_fields) - 1) + EPOLL_FLAGS_PADDING_SIZE) == sizeof(uint8_t) * BITS_PER_BYTE); - -#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ - -LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_wait_fields_struct), - PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_wait_fields), lttng_epoll_wait_fields, 0))) - -#endif /* ONCE_LTTNG_TRACE_EPOLL_H */ -#endif /* LTTNG_CREATE_FIELD_METADATA */ - -#define LTTNG_SYSCALL_EPOLL_WAIT_locvar \ - sc_out( \ - unsigned int fds_length; \ - uint8_t overflow; \ - struct epoll_event *events; \ - ) - -#define LTTNG_SYSCALL_EPOLL_WAIT_code_pre \ - sc_out({ \ - int err; \ - unsigned long maxalloc; \ - \ - tp_locvar->fds_length = 0; \ - tp_locvar->events = NULL; \ - tp_locvar->overflow = 0; \ - \ - if (maxevents <= 0 || ret <= 0 || ret > maxevents) \ - goto skip_code; \ - \ - if (maxevents > PAGE_SIZE / sizeof(struct epoll_event)) { \ - maxalloc = PAGE_SIZE / sizeof(struct epoll_event); \ - } else { \ - maxalloc = maxevents; \ - } \ - \ - if (ret > maxalloc) { \ - tp_locvar->fds_length = maxalloc; \ - tp_locvar->overflow = 1; \ - } else { \ - tp_locvar->fds_length = ret; \ - } \ - \ - tp_locvar->events = lttng_tp_mempool_alloc( \ - maxalloc * sizeof(struct epoll_event)); \ - if (!tp_locvar->events) { \ - tp_locvar->fds_length = 0; \ - goto skip_code; \ - } \ - \ - err = lib_ring_buffer_copy_from_user_check_nofault( \ - tp_locvar->events, uevents, \ - maxalloc * sizeof(struct epoll_event)); \ - if (err != 0) \ - tp_locvar->fds_length = 0; \ - } \ - skip_code: \ - ) - -#define LTTNG_SYSCALL_EPOLL_WAIT_fds_field \ - ctf_custom_field( \ - ctf_custom_type( \ - lttng_kernel_static_type_sequence("fds_length", \ - (const struct lttng_kernel_type_common *) <tng_epoll_wait_fields_struct, \ - 0, \ - none) \ - ), \ - fds, \ - ctf_custom_code( \ - uint32_t i; \ - \ - ctf_align(uint64_t) \ - for (i = 0; i < tp_locvar->fds_length; i++) { \ - ctf_integer_type(uint64_t, tp_locvar->events[i].data) \ - ctf_integer_type(int, tp_locvar->events[i].data) \ - ctf_integer_bitfield_type(uint32_t, \ - tp_locvar->events[i].events) \ - ctf_integer_bitfield_type(uint8_t, \ - (uint8_t) tp_locvar->events[i].events) \ - } \ - ) \ - ) - -#define LTTNG_SYSCALL_EPOLL_WAIT_code_post \ - sc_out( \ - lttng_tp_mempool_free(tp_locvar->events); \ - ) - - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) -#define OVERRIDE_32_epoll_wait -#define OVERRIDE_64_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event __user * uevents, - int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, uevents, maxevents, timeout), - TP_locvar( - LTTNG_SYSCALL_EPOLL_WAIT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_EPOLL_WAIT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, epfd, epfd)) - sc_in(ctf_integer(int, maxevents, maxevents)) - sc_in(ctf_integer(int, timeout, timeout)) - sc_out(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) - sc_out(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - sc_out( - LTTNG_SYSCALL_EPOLL_WAIT_fds_field - ) - ), - TP_code_post( - LTTNG_SYSCALL_EPOLL_WAIT_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ - -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) -#define OVERRIDE_32_epoll_pwait -#define OVERRIDE_64_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event __user * uevents, - int maxevents, int timeout, const sigset_t __user * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, uevents, maxevents, timeout, sigmask, sigsetsize), - TP_locvar( - LTTNG_SYSCALL_EPOLL_WAIT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_EPOLL_WAIT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, epfd, epfd)) - sc_in(ctf_integer(int, maxevents, maxevents)) - sc_in(ctf_integer(int, timeout, timeout)) - sc_in(ctf_integer_hex(const sigset_t *, sigmask, sigmask)) - sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)) - sc_out(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) - sc_out(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) - sc_out( - LTTNG_SYSCALL_EPOLL_WAIT_fds_field - ) - ), - TP_code_post( - LTTNG_SYSCALL_EPOLL_WAIT_code_post - ) -) -#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ - -#if (defined(CONFIG_X86_64) && !defined(LTTNG_SC_COMPAT)) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) -#define OVERRIDE_32_socketpair -#define 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_user_array(int, socket, usockvec, 2)) - ) -) -#endif /* (defined(CONFIG_X86_64) && !defined(LTTNG_SC_COMPAT)) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ - -#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM -/* - * Enumeration of the open flags, as described in the 'open' - * system call man page. - */ -SC_LTTNG_TRACEPOINT_ENUM(lttng_file_status_flags, - TP_ENUM_VALUES( - ctf_enum_value("O_RDONLY", O_RDONLY) - ctf_enum_value("O_WRONLY", O_WRONLY) - ctf_enum_value("O_RDWR", O_RDWR) - ctf_enum_value("O_CREAT", O_CREAT) - ctf_enum_value("O_EXCL", O_EXCL) - ctf_enum_value("O_NOCTTY", O_NOCTTY) - ctf_enum_value("O_TRUNC", O_TRUNC) - ctf_enum_value("O_APPEND", O_APPEND) - ctf_enum_value("O_NONBLOCK", O_NONBLOCK) - ctf_enum_value("O_DSYNC", O_DSYNC) - ctf_enum_value("FASYNC", FASYNC) - ctf_enum_value("O_DIRECT", O_DIRECT) - ctf_enum_value("O_LARGEFILE", O_LARGEFILE) - ctf_enum_value("O_DIRECTORY", O_DIRECTORY) - ctf_enum_value("O_NOFOLLOW", O_NOFOLLOW) - ctf_enum_value("O_NOATIME", O_NOATIME) - ctf_enum_value("O_CLOEXEC", O_CLOEXEC) - ctf_enum_value("O_SYNC", __O_SYNC) - ctf_enum_value("O_PATH", O_PATH) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,11,0)) - ctf_enum_value("O_TMPFILE", __O_TMPFILE) -#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,11,0)) */ - ) -) - -/* - * Enumeration of the open flags, as described in the 'open' - * system call man page. - */ -SC_LTTNG_TRACEPOINT_ENUM(lttng_file_mode, - TP_ENUM_VALUES( - ctf_enum_value("S_IRWXU", S_IRWXU) - ctf_enum_value("S_IRUSR", S_IRUSR) - ctf_enum_value("S_IWUSR", S_IWUSR) - ctf_enum_value("S_IXUSR", S_IXUSR) - ctf_enum_value("S_IRWXG", S_IRWXG) - ctf_enum_value("S_IRGRP", S_IRGRP) - ctf_enum_value("S_IWGRP", S_IWGRP) - ctf_enum_value("S_IXGRP", S_IXGRP) - ctf_enum_value("S_IRWXO", S_IRWXO) - ctf_enum_value("S_IROTH", S_IROTH) - ctf_enum_value("S_IWOTH", S_IWOTH) - ctf_enum_value("S_IXOTH", S_IXOTH) - ctf_enum_value("S_ISUID", S_ISUID) - ctf_enum_value("S_ISGID", S_ISGID) - ctf_enum_value("S_ISVTX", S_ISVTX) - ) -) - -#define OVERRIDE_32_openat -#define 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_enum(lttng_file_status_flags, int, flags, flags)) - sc_in(ctf_enum(lttng_file_mode, umode_t, mode, mode)) - ) -) - -#define OVERRIDE_32_open -#define 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_enum(lttng_file_status_flags, int, flags, flags)) - sc_in(ctf_enum(lttng_file_mode, umode_t, mode, mode)) - ) -) -#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/syscalls_unknown.h b/include/instrumentation/syscalls/headers/syscalls_unknown.h deleted file mode 100644 index 8645d714..00000000 --- a/include/instrumentation/syscalls/headers/syscalls_unknown.h +++ /dev/null @@ -1,60 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_UNKNOWN_H - -#include -#include - -#define UNKNOWN_SYSCALL_NRARGS 6 - -#undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_entry_event_probe - -#undef TP_EVENT_NOTIFIER_PROBE_CB -#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_entry_event_notifier_probe - -LTTNG_TRACEPOINT_EVENT(syscall_entry_unknown, - TP_PROTO(int id, unsigned long *args), - TP_ARGS(id, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -LTTNG_TRACEPOINT_EVENT(compat_syscall_entry_unknown, - TP_PROTO(int id, unsigned long *args), - TP_ARGS(id, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) - -#undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_exit_event_probe -#undef TP_EVENT_NOTIFIER_PROBE_CB -#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_exit_event_notifier_probe - -LTTNG_TRACEPOINT_EVENT(syscall_exit_unknown, - TP_PROTO(int id, long ret, unsigned long *args), - TP_ARGS(id, ret, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_integer(long, ret, ret) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -LTTNG_TRACEPOINT_EVENT(compat_syscall_exit_unknown, - TP_PROTO(int id, long ret, unsigned long *args), - TP_ARGS(id, ret, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_integer(long, ret, ret) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -#endif /* _TRACE_SYSCALLS_UNKNOWN_H */ - -/* This part must be outside protection */ -#include diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h deleted file mode 100644 index b053db67..00000000 --- a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h +++ /dev/null @@ -1,1538 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from x86-32-syscalls 6.0.7 */ - -#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_fork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) -#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_sigreturn -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sigreturn) -#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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) -#endif -#ifndef OVERRIDE_32_vfork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) -#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_fork -SC_LTTNG_TRACEPOINT_EVENT(fork, - 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_sigreturn -SC_LTTNG_TRACEPOINT_EVENT(sigreturn, - 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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vfork -SC_LTTNG_TRACEPOINT_EVENT(vfork, - 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_iopl -SC_LTTNG_TRACEPOINT_EVENT(iopl, - TP_PROTO(sc_exit(long ret,) unsigned int level), - TP_ARGS(sc_exit(ret,) level), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) -) -#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_userfaultfd -SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_memfd_secret -SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, - TP_PROTO(sc_exit(long ret,) unsigned int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#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, 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_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 flags), - TP_ARGS(sc_exit(ret,) fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) 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_arch_prctl -SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) -) -#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_pidfd_open -SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_process_mrelease -SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, - TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#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_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, - TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), - TP_ARGS(sc_exit(ret,) unused1, unused2, mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) -) -#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_ioperm -SC_LTTNG_TRACEPOINT_EVENT(ioperm, - TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), - TP_ARGS(sc_exit(ret,) from, num, turn_on), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) -) -#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_ia32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_ftruncate64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_low, unsigned long offset_high), - TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) -) -#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_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_membarrier -SC_LTTNG_TRACEPOINT_EVENT(membarrier, - TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), - TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) -) -#endif -#ifndef OVERRIDE_32_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_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_fsmount -SC_LTTNG_TRACEPOINT_EVENT(fsmount, - TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), - TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) -) -#endif -#ifndef OVERRIDE_32_close_range -SC_LTTNG_TRACEPOINT_EVENT(close_range, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, max_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_pidfd_getfd -SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, - TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_ia32_readahead -SC_LTTNG_TRACEPOINT_EVENT(ia32_readahead, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_lo, unsigned int off_hi, size_t count), - TP_ARGS(sc_exit(ret,) fd, off_lo, off_hi, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_lo, off_lo)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(size_t, count, count))) -) -#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_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_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_ia32_fadvise64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset_lo, offset_hi, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) -) -#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_kcmp -SC_LTTNG_TRACEPOINT_EVENT(kcmp, - TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), - TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) -) -#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 -#ifndef OVERRIDE_32_ia32_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice), - TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, len_low, len_high, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(__u32, offset_low, offset_low)) sc_inout(ctf_integer(__u32, offset_high, offset_high)) sc_inout(ctf_integer(__u32, len_low, len_low)) sc_inout(ctf_integer(__u32, len_high, len_high)) sc_inout(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_32_ia32_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(ia32_sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags), - TP_ARGS(sc_exit(ret,) fd, off_low, off_hi, n_low, n_hi, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_low, off_low)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(unsigned int, n_low, n_low)) sc_inout(ctf_integer(unsigned int, n_hi, n_hi)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ia32_fallocate -SC_LTTNG_TRACEPOINT_EVENT(ia32_fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi), - TP_ARGS(sc_exit(ret,) fd, mode, offset_lo, offset_hi, len_lo, len_hi), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(int, mode, mode)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(unsigned int, len_lo, len_lo)) sc_inout(ctf_integer(unsigned int, len_hi, len_hi))) -) -#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_fork -TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 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_sigreturn -TRACE_SYSCALL_TABLE(syscalls_noargs, sigreturn, 119, 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_rt_sigreturn -TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 173, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vfork -TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 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_fork -TRACE_SYSCALL_TABLE(fork, fork, 2, 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_sigreturn -TRACE_SYSCALL_TABLE(sigreturn, sigreturn, 119, 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_rt_sigreturn -TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 173, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vfork -TRACE_SYSCALL_TABLE(vfork, vfork, 190, 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_sigsuspend -TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) -#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_ioperm -TRACE_SYSCALL_TABLE(ioperm, ioperm, 101, 3) -#endif -#ifndef OVERRIDE_TABLE_32_iopl -TRACE_SYSCALL_TABLE(iopl, iopl, 110, 1) -#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_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_ia32_ftruncate64 -TRACE_SYSCALL_TABLE(ia32_ftruncate64, ia32_ftruncate64, 194, 3) -#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_ia32_readahead -TRACE_SYSCALL_TABLE(ia32_readahead, ia32_readahead, 225, 4) -#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_ia32_fadvise64 -TRACE_SYSCALL_TABLE(ia32_fadvise64, ia32_fadvise64, 250, 5) -#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_ia32_fadvise64_64 -TRACE_SYSCALL_TABLE(ia32_fadvise64_64, ia32_fadvise64_64, 272, 6) -#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_ia32_sync_file_range -TRACE_SYSCALL_TABLE(ia32_sync_file_range, ia32_sync_file_range, 314, 6) -#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_ia32_fallocate -TRACE_SYSCALL_TABLE(ia32_fallocate, ia32_fallocate, 324, 6) -#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 -#ifndef OVERRIDE_TABLE_32_kcmp -TRACE_SYSCALL_TABLE(kcmp, kcmp, 349, 5) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 359, 3) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 363, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 373, 2) -#endif -#ifndef OVERRIDE_TABLE_32_userfaultfd -TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 374, 1) -#endif -#ifndef OVERRIDE_TABLE_32_membarrier -TRACE_SYSCALL_TABLE(membarrier, membarrier, 375, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mlock2 -TRACE_SYSCALL_TABLE(mlock2, mlock2, 376, 3) -#endif -#ifndef OVERRIDE_TABLE_32_arch_prctl -TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 384, 2) -#endif -#ifndef OVERRIDE_TABLE_32_semget -TRACE_SYSCALL_TABLE(semget, semget, 393, 3) -#endif -#ifndef OVERRIDE_TABLE_32_semctl -TRACE_SYSCALL_TABLE(semctl, semctl, 394, 4) -#endif -#ifndef OVERRIDE_TABLE_32_shmget -TRACE_SYSCALL_TABLE(shmget, shmget, 395, 3) -#endif -#ifndef OVERRIDE_TABLE_32_msgget -TRACE_SYSCALL_TABLE(msgget, msgget, 399, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fsmount -TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_open -TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) -#endif -#ifndef OVERRIDE_TABLE_32_close_range -TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_getfd -TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) -#endif -#ifndef OVERRIDE_TABLE_32_memfd_secret -TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) -#endif -#ifndef OVERRIDE_TABLE_32_process_mrelease -TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h deleted file mode 100644 index 3d933ad3..00000000 --- a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h +++ /dev/null @@ -1,87 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h deleted file mode 100644 index 2d833197..00000000 --- a/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h +++ /dev/null @@ -1,2709 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from x86-32-syscalls 6.0.7 */ - -#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_time32 -SC_LTTNG_TRACEPOINT_EVENT(time32, - TP_PROTO(sc_exit(long ret,) old_time32_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(old_time32_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_stime32 -SC_LTTNG_TRACEPOINT_EVENT(stime32, - TP_PROTO(sc_exit(long ret,) old_time32_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_time32_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 * uset), - TP_ARGS(sc_exit(ret,) uset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, uset, uset))) -) -#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_time32 -SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32, - TP_PROTO(sc_exit(long ret,) struct old_timex32 * utp), - TP_ARGS(sc_exit(ret,) utp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) -) -#endif -#ifndef OVERRIDE_32_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, - TP_PROTO(sc_exit(long ret,) struct user_desc * u_info), - TP_ARGS(sc_exit(ret,) u_info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info))) -) -#endif -#ifndef OVERRIDE_32_get_thread_area -SC_LTTNG_TRACEPOINT_EVENT(get_thread_area, - TP_PROTO(sc_exit(long ret,) struct user_desc * u_info), - TP_ARGS(sc_exit(ret,) u_info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info))) -) -#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_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_utime32 -SC_LTTNG_TRACEPOINT_EVENT(utime32, - TP_PROTO(sc_exit(long ret,) const char * filename, struct old_utimbuf32 * t), - TP_ARGS(sc_exit(ret,) filename, t), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_utimbuf32 *, t, t))) -) -#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_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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_time32 -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct old_timespec32 * 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 old_timespec32 *, interval, interval))) -) -#endif -#ifndef OVERRIDE_32_nanosleep_time32 -SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32, - TP_PROTO(sc_exit(long ret,) struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct old_itimerspec32 * 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 old_itimerspec32 *, setting, setting))) -) -#endif -#ifndef OVERRIDE_32_clock_settime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_settime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_getres_time32 -SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_utimes_time32 -SC_LTTNG_TRACEPOINT_EVENT(utimes_time32, - TP_PROTO(sc_exit(long ret,) const char * filename, struct old_timeval32 * t), - TP_ARGS(sc_exit(ret,) filename, t), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) -) -#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_gettime32 -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32, - TP_PROTO(sc_exit(long ret,) int ufd, struct old_itimerspec32 * 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 old_itimerspec32 *, 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_adjtime32 -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timex32 * utp), - TP_ARGS(sc_exit(ret,) which_clock, utp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) -) -#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_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) -) -#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 __kernel_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 __kernel_timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timex *, utx, utx))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct __kernel_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 __kernel_itimerspec *, setting, setting))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct __kernel_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 __kernel_itimerspec *, otmr, otmr))) -) -#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 __kernel_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 __kernel_timespec *, interval, interval))) -) -#endif -#ifndef OVERRIDE_32_io_uring_setup -SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, - TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), - TP_ARGS(sc_exit(ret,) entries, params), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) -) -#endif -#ifndef OVERRIDE_32_fsopen -SC_LTTNG_TRACEPOINT_EVENT(fsopen, - TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), - TP_ARGS(sc_exit(ret,) _fs_name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clone3 -SC_LTTNG_TRACEPOINT_EVENT(clone3, - TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), - TP_ARGS(sc_exit(ret,) uargs, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) -) -#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_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_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct old_sigaction * act, struct old_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 old_sigaction *, act, act)) sc_inout(ctf_integer(struct old_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_itimerval *, ovalue, ovalue))) -) -#endif -#ifndef OVERRIDE_32_modify_ldt -SC_LTTNG_TRACEPOINT_EVENT(modify_ldt, - TP_PROTO(sc_exit(long ret,) int func, void * ptr, unsigned long bytecount), - TP_ARGS(sc_exit(ret,) func, ptr, bytecount), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(unsigned long, bytecount, bytecount))) -) -#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 * ruidp, old_uid_t * euidp, old_uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruidp, ruidp)) sc_inout(ctf_integer(old_uid_t *, euidp, euidp)) sc_inout(ctf_integer(old_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_getresgid16 -SC_LTTNG_TRACEPOINT_EVENT(getresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgidp, rgidp)) sc_inout(ctf_integer(old_gid_t *, egidp, egidp)) sc_inout(ctf_integer(old_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_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_ia32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_truncate64, - TP_PROTO(sc_exit(long ret,) const char * filename, unsigned long offset_low, unsigned long offset_high), - TP_ARGS(sc_exit(ret,) filename, offset_low, offset_high), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) -) -#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 * 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_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_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, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32, - TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timeval32 * t), - TP_ARGS(sc_exit(ret,) dfd, filename, t), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) -) -#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, void * 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(void *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_32_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) ubuf, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_bpf -SC_LTTNG_TRACEPOINT_EVENT(bpf, - TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), - TP_ARGS(sc_exit(ret,) cmd, uattr, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) -) -#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_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 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_32_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_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_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_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_open_tree -SC_LTTNG_TRACEPOINT_EVENT(open_tree, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), - TP_ARGS(sc_exit(ret,) dfd, filename, flags), - 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(unsigned, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fspick -SC_LTTNG_TRACEPOINT_EVENT(fspick, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), - TP_ARGS(sc_exit(ret,) dfd, path, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) 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_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_time32 -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct old_timespec32 * 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 old_timespec32 *, 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_settime32 -SC_LTTNG_TRACEPOINT_EVENT(timer_settime32, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, struct old_itimerspec32 * new, struct old_itimerspec32 * old), - TP_ARGS(sc_exit(ret,) timer_id, flags, new, old), - 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(struct old_itimerspec32 *, new, new)) sc_out(ctf_integer(struct old_itimerspec32 *, old, old))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep_time32 -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32, - TP_PROTO(sc_exit(long ret,) clockid_t which_clock, int flags, struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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, 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_utimensat_time32 -SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32, - TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timespec32 * t, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, t, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timespec32 *, t, t)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime32 -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct old_itimerspec32 * utmr, struct old_itimerspec32 * 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 old_itimerspec32 *, utmr, utmr)) sc_out(ctf_integer(struct old_itimerspec32 *, 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_sched_getattr -SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int usize, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) 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_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_rseq -SC_LTTNG_TRACEPOINT_EVENT(rseq, - TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), - TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) -) -#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_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) -) -#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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_itimerspec *, old_setting, old_setting))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout))) -) -#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 __kernel_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 __kernel_timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_pidfd_send_signal -SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, - TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_io_uring_register -SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), - TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) -) -#endif -#ifndef OVERRIDE_32_openat2 -SC_LTTNG_TRACEPOINT_EVENT(openat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), - 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_32_faccessat2 -SC_LTTNG_TRACEPOINT_EVENT(faccessat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), - 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_quotactl_fd -SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), - 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#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_clone -SC_LTTNG_TRACEPOINT_EVENT(clone, - TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), - TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) -) -#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 __kernel_old_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 __kernel_old_timeval *, tvp, tvp))) -) -#endif -#ifndef OVERRIDE_32_ia32_pread64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * ubuf, u32 count, u32 poslo, u32 poshi), - TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi))) -) -#endif -#ifndef OVERRIDE_32_ia32_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(ia32_pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * ubuf, u32 count, u32 poslo, u32 poshi), - TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi))) -) -#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_time32 -SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32, - TP_PROTO(sc_exit(long ret,) __u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event * events, struct old_timespec32 * 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(__u32, ctx_id, ctx_id)) sc_in(ctf_integer(__s32, min_nr, min_nr)) sc_in(ctf_integer(__s32, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_mq_timedsend_time32 -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, u_abs_timeout, u_abs_timeout))) -) -#endif -#ifndef OVERRIDE_32_mq_timedreceive_time32 -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, unsigned int msg_len, unsigned int * u_msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct old_timespec32 * 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 old_timespec32 *, 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_time32 -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 * 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 old_timespec32 *, 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_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_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_statx -SC_LTTNG_TRACEPOINT_EVENT(statx, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), - 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) -) -#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_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, u_abs_timeout, u_abs_timeout))) -) -#endif -#ifndef OVERRIDE_32_move_mount -SC_LTTNG_TRACEPOINT_EVENT(move_mount, - TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), - TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fsconfig -SC_LTTNG_TRACEPOINT_EVENT(fsconfig, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), - TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) -) -#endif -#ifndef OVERRIDE_32_process_madvise -SC_LTTNG_TRACEPOINT_EVENT(process_madvise, - TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mount_setattr -SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_32_futex_waitv -SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, - TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), - TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) -) -#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_time32 -SC_LTTNG_TRACEPOINT_EVENT(futex_time32, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct old_timespec32 * 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(const struct old_timespec32 *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) -) -#endif -#ifndef OVERRIDE_32_pselect6_time32 -SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct old_timespec32 * 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 old_timespec32 *, 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_fanotify_mark -SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, - TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u32 mask_lo, u32 mask_hi, int dfd, const char * pathname), - TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask_lo, mask_hi, 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(u32, mask_lo, mask_lo)) sc_in(ctf_integer(u32, mask_hi, mask_hi)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) -) -#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 -#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_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_copy_file_range -SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, - 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_preadv2 -SC_LTTNG_TRACEPOINT_EVENT(preadv2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_pwritev2 -SC_LTTNG_TRACEPOINT_EVENT(pwritev2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_io_pgetevents_time32 -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct old_timespec32 * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#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 __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_io_pgetevents -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct __kernel_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(const struct __kernel_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) -) -#endif -#ifndef OVERRIDE_32_io_uring_enter -SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, - TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), - TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait2 -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(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_execve -TRACE_SYSCALL_TABLE(execve, execve, 11, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time32 -TRACE_SYSCALL_TABLE(time32, time32, 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_stime32 -TRACE_SYSCALL_TABLE(stime32, stime32, 25, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fstat -TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) -#endif -#ifndef OVERRIDE_TABLE_32_utime32 -TRACE_SYSCALL_TABLE(utime32, utime32, 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_sigaction -TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3) -#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_clone -TRACE_SYSCALL_TABLE(clone, clone, 120, 5) -#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_modify_ldt -TRACE_SYSCALL_TABLE(modify_ldt, modify_ldt, 123, 3) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex_time32 -TRACE_SYSCALL_TABLE(adjtimex_time32, adjtimex_time32, 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_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_time32 -TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32, sched_rr_get_interval_time32, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep_time32 -TRACE_SYSCALL_TABLE(nanosleep_time32, nanosleep_time32, 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_time32 -TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32, rt_sigtimedwait_time32, 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_ia32_pread64 -TRACE_SYSCALL_TABLE(ia32_pread64, ia32_pread64, 180, 5) -#endif -#ifndef OVERRIDE_TABLE_32_ia32_pwrite64 -TRACE_SYSCALL_TABLE(ia32_pwrite64, ia32_pwrite64, 181, 5) -#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_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 186, 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_ia32_truncate64 -TRACE_SYSCALL_TABLE(ia32_truncate64, ia32_truncate64, 193, 3) -#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_time32 -TRACE_SYSCALL_TABLE(futex_time32, futex_time32, 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_set_thread_area -TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 243, 1) -#endif -#ifndef OVERRIDE_TABLE_32_get_thread_area -TRACE_SYSCALL_TABLE(get_thread_area, get_thread_area, 244, 1) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents_time32 -TRACE_SYSCALL_TABLE(io_getevents_time32, io_getevents_time32, 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_settime32 -TRACE_SYSCALL_TABLE(timer_settime32, timer_settime32, 260, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime32 -TRACE_SYSCALL_TABLE(timer_gettime32, timer_gettime32, 261, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime32 -TRACE_SYSCALL_TABLE(clock_settime32, clock_settime32, 264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime32 -TRACE_SYSCALL_TABLE(clock_gettime32, clock_gettime32, 265, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres_time32 -TRACE_SYSCALL_TABLE(clock_getres_time32, clock_getres_time32, 266, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32 -TRACE_SYSCALL_TABLE(clock_nanosleep_time32, clock_nanosleep_time32, 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_time32 -TRACE_SYSCALL_TABLE(utimes_time32, utimes_time32, 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_time32 -TRACE_SYSCALL_TABLE(mq_timedsend_time32, mq_timedsend_time32, 279, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32 -TRACE_SYSCALL_TABLE(mq_timedreceive_time32, mq_timedreceive_time32, 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_time32 -TRACE_SYSCALL_TABLE(futimesat_time32, futimesat_time32, 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_time32 -TRACE_SYSCALL_TABLE(pselect6_time32, pselect6_time32, 308, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll_time32 -TRACE_SYSCALL_TABLE(ppoll_time32, ppoll_time32, 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_time32 -TRACE_SYSCALL_TABLE(utimensat_time32, utimensat_time32, 320, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime32 -TRACE_SYSCALL_TABLE(timerfd_settime32, timerfd_settime32, 325, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime32 -TRACE_SYSCALL_TABLE(timerfd_gettime32, timerfd_gettime32, 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_time32 -TRACE_SYSCALL_TABLE(recvmmsg_time32, recvmmsg_time32, 337, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fanotify_mark -TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 339, 6) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4) -#endif -#ifndef OVERRIDE_TABLE_32_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 341, 5) -#endif -#ifndef OVERRIDE_TABLE_32_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 342, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime32 -TRACE_SYSCALL_TABLE(clock_adjtime32, clock_adjtime32, 343, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4) -#endif -#ifndef OVERRIDE_TABLE_32_process_vm_readv -TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 347, 6) -#endif -#ifndef OVERRIDE_TABLE_32_process_vm_writev -TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 348, 6) -#endif -#ifndef OVERRIDE_TABLE_32_finit_module -TRACE_SYSCALL_TABLE(finit_module, finit_module, 350, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setattr -TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 351, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getattr -TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 352, 4) -#endif -#ifndef OVERRIDE_TABLE_32_renameat2 -TRACE_SYSCALL_TABLE(renameat2, renameat2, 353, 5) -#endif -#ifndef OVERRIDE_TABLE_32_seccomp -TRACE_SYSCALL_TABLE(seccomp, seccomp, 354, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getrandom -TRACE_SYSCALL_TABLE(getrandom, getrandom, 355, 3) -#endif -#ifndef OVERRIDE_TABLE_32_memfd_create -TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 356, 2) -#endif -#ifndef OVERRIDE_TABLE_32_bpf -TRACE_SYSCALL_TABLE(bpf, bpf, 357, 3) -#endif -#ifndef OVERRIDE_TABLE_32_execveat -TRACE_SYSCALL_TABLE(execveat, execveat, 358, 5) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 360, 4) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 361, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 362, 3) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 364, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 365, 5) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 366, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 367, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 368, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 369, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 370, 3) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 371, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 372, 3) -#endif -#ifndef OVERRIDE_TABLE_32_copy_file_range -TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 377, 6) -#endif -#ifndef OVERRIDE_TABLE_32_preadv2 -TRACE_SYSCALL_TABLE(preadv2, preadv2, 378, 6) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev2 -TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 379, 6) -#endif -#ifndef OVERRIDE_TABLE_32_statx -TRACE_SYSCALL_TABLE(statx, statx, 383, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_pgetevents_time32 -TRACE_SYSCALL_TABLE(io_pgetevents_time32, io_pgetevents_time32, 385, 6) -#endif -#ifndef OVERRIDE_TABLE_32_rseq -TRACE_SYSCALL_TABLE(rseq, rseq, 386, 4) -#endif -#ifndef OVERRIDE_TABLE_32_shmctl -TRACE_SYSCALL_TABLE(shmctl, shmctl, 396, 3) -#endif -#ifndef OVERRIDE_TABLE_32_shmat -TRACE_SYSCALL_TABLE(shmat, shmat, 397, 3) -#endif -#ifndef OVERRIDE_TABLE_32_shmdt -TRACE_SYSCALL_TABLE(shmdt, shmdt, 398, 1) -#endif -#ifndef OVERRIDE_TABLE_32_msgsnd -TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 400, 4) -#endif -#ifndef OVERRIDE_TABLE_32_msgrcv -TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 401, 5) -#endif -#ifndef OVERRIDE_TABLE_32_msgctl -TRACE_SYSCALL_TABLE(msgctl, msgctl, 402, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 403, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 404, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 405, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 406, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 407, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 408, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 409, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 410, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 411, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 412, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 413, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 414, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_pgetevents -TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 416, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 417, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 418, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 419, 5) -#endif -#ifndef OVERRIDE_TABLE_32_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 420, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 421, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 422, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 423, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pidfd_send_signal -TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_setup -TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_enter -TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) -#endif -#ifndef OVERRIDE_TABLE_32_io_uring_register -TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) -#endif -#ifndef OVERRIDE_TABLE_32_open_tree -TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) -#endif -#ifndef OVERRIDE_TABLE_32_move_mount -TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsopen -TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fsconfig -TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fspick -TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clone3 -TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) -#endif -#ifndef OVERRIDE_TABLE_32_openat2 -TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat2 -TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) -#endif -#ifndef OVERRIDE_TABLE_32_process_madvise -TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait2 -TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) -#endif -#ifndef OVERRIDE_TABLE_32_mount_setattr -TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) -#endif -#ifndef OVERRIDE_TABLE_32_quotactl_fd -TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex_waitv -TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h deleted file mode 100644 index bd63ed09..00000000 --- a/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h +++ /dev/null @@ -1,62 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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 - -#ifdef CONFIG_X86_64 -#ifdef CONFIG_COMPAT_OLD_SIGACTION -/* - * From the point of view of the 64-bit ABI, old_sigaction - * becomes compat_old_sigaction. - */ -#define old_sigaction compat_old_sigaction -#else /* CONFIG_COMPAT_OLD_SIGACTION */ -/* - * The target 64-bit kernel does not enable the support for - * the 32-bit compat version of OLD_SIGACTION. Defining - * OVERRIDE_32_sigaction ensures we don't build a tracepoint - * for this syscall. - */ -#define OVERRIDE_32_sigaction -#endif /* CONFIG_COMPAT_OLD_SIGACTION */ -#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/include/instrumentation/syscalls/headers/x86-64-syscalls_integers.h b/include/instrumentation/syscalls/headers/x86-64-syscalls_integers.h deleted file mode 100644 index 7b7d83f0..00000000 --- a/include/instrumentation/syscalls/headers/x86-64-syscalls_integers.h +++ /dev/null @@ -1,1322 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from x86-64-syscalls 6.0.7 */ - -#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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) -#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_fork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) -#endif -#ifndef OVERRIDE_64_vfork -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) -#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_rt_sigreturn -SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, - 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_fork -SC_LTTNG_TRACEPOINT_EVENT(fork, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_vfork -SC_LTTNG_TRACEPOINT_EVENT(vfork, - 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_iopl -SC_LTTNG_TRACEPOINT_EVENT(iopl, - TP_PROTO(sc_exit(long ret,) unsigned int level), - TP_ARGS(sc_exit(ret,) level), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) -) -#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_userfaultfd -SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pkey_free -SC_LTTNG_TRACEPOINT_EVENT(pkey_free, - TP_PROTO(sc_exit(long ret,) int pkey), - TP_ARGS(sc_exit(ret,) pkey), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pkey, pkey))) -) -#endif -#ifndef OVERRIDE_64_memfd_secret -SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, - TP_PROTO(sc_exit(long ret,) unsigned int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#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_arch_prctl -SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) -) -#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 flags), - TP_ARGS(sc_exit(ret,) fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pkey_alloc -SC_LTTNG_TRACEPOINT_EVENT(pkey_alloc, - TP_PROTO(sc_exit(long ret,) unsigned long flags, unsigned long init_val), - TP_ARGS(sc_exit(ret,) flags, init_val), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, init_val, init_val))) -) -#endif -#ifndef OVERRIDE_64_pidfd_open -SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_process_mrelease -SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, - TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#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_ioperm -SC_LTTNG_TRACEPOINT_EVENT(ioperm, - TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), - TP_ARGS(sc_exit(ret,) from, num, turn_on), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) -) -#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_membarrier -SC_LTTNG_TRACEPOINT_EVENT(membarrier, - TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), - TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) -) -#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_fsmount -SC_LTTNG_TRACEPOINT_EVENT(fsmount, - TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), - TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) -) -#endif -#ifndef OVERRIDE_64_close_range -SC_LTTNG_TRACEPOINT_EVENT(close_range, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, max_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pidfd_getfd -SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, - TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_pkey_mprotect -SC_LTTNG_TRACEPOINT_EVENT(pkey_mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot, int pkey), - TP_ARGS(sc_exit(ret,) start, len, prot, pkey), - 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(unsigned long, prot, prot)) sc_inout(ctf_integer(int, pkey, pkey))) -) -#endif -#ifndef OVERRIDE_64_set_mempolicy_home_node -SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, len, home_node, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, home_node, home_node)) sc_inout(ctf_integer(unsigned long, 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_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_kcmp -SC_LTTNG_TRACEPOINT_EVENT(kcmp, - TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), - TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) -) -#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_rt_sigreturn -TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 15, 0) -#endif -#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_fork -TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 57, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vfork -TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 58, 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_rt_sigreturn -TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 15, 0) -#endif -#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_fork -TRACE_SYSCALL_TABLE(fork, fork, 57, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vfork -TRACE_SYSCALL_TABLE(vfork, vfork, 58, 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_arch_prctl -TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 158, 2) -#endif -#ifndef OVERRIDE_TABLE_64_iopl -TRACE_SYSCALL_TABLE(iopl, iopl, 172, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ioperm -TRACE_SYSCALL_TABLE(ioperm, ioperm, 173, 3) -#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 -#ifndef OVERRIDE_TABLE_64_kcmp -TRACE_SYSCALL_TABLE(kcmp, kcmp, 312, 5) -#endif -#ifndef OVERRIDE_TABLE_64_userfaultfd -TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 323, 1) -#endif -#ifndef OVERRIDE_TABLE_64_membarrier -TRACE_SYSCALL_TABLE(membarrier, membarrier, 324, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mlock2 -TRACE_SYSCALL_TABLE(mlock2, mlock2, 325, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pkey_mprotect -TRACE_SYSCALL_TABLE(pkey_mprotect, pkey_mprotect, 329, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pkey_alloc -TRACE_SYSCALL_TABLE(pkey_alloc, pkey_alloc, 330, 2) -#endif -#ifndef OVERRIDE_TABLE_64_pkey_free -TRACE_SYSCALL_TABLE(pkey_free, pkey_free, 331, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fsmount -TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_open -TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) -#endif -#ifndef OVERRIDE_TABLE_64_close_range -TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_getfd -TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) -#endif -#ifndef OVERRIDE_TABLE_64_memfd_secret -TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) -#endif -#ifndef OVERRIDE_TABLE_64_process_mrelease -TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) -#endif -#ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node -TRACE_SYSCALL_TABLE(set_mempolicy_home_node, set_mempolicy_home_node, 450, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h b/include/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h deleted file mode 100644 index a241399b..00000000 --- a/include/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h +++ /dev/null @@ -1,5 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* - * this is a place-holder for x86_64 integer syscall definition override. - */ diff --git a/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h b/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h deleted file mode 100644 index bd1ac35d..00000000 --- a/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h +++ /dev/null @@ -1,2259 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ - -/* Generated from x86-64-syscalls 6.0.7 */ - -#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_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct __kernel_timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __kernel_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,) __kernel_old_time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(__kernel_old_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 __kernel_timespec * rqtp, struct __kernel_timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) -) -#endif -#ifndef OVERRIDE_64_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_64_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_uring_setup -SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, - TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), - TP_ARGS(sc_exit(ret,) entries, params), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) -) -#endif -#ifndef OVERRIDE_64_fsopen -SC_LTTNG_TRACEPOINT_EVENT(fsopen, - TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), - TP_ARGS(sc_exit(ret,) _fs_name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_clone3 -SC_LTTNG_TRACEPOINT_EVENT(clone3, - TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), - TP_ARGS(sc_exit(ret,) uargs, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) -) -#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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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 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_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_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_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_modify_ldt -SC_LTTNG_TRACEPOINT_EVENT(modify_ldt, - TP_PROTO(sc_exit(long ret,) int func, void * ptr, unsigned long bytecount), - TP_ARGS(sc_exit(ret,) func, ptr, bytecount), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(unsigned long, bytecount, bytecount))) -) -#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_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, const 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(const 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 __kernel_old_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 __kernel_old_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_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, void * 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(void *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_64_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) ubuf, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_bpf -SC_LTTNG_TRACEPOINT_EVENT(bpf, - TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), - TP_ARGS(sc_exit(ret,) cmd, uattr, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) -) -#endif -#ifndef OVERRIDE_64_open_tree -SC_LTTNG_TRACEPOINT_EVENT(open_tree, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), - TP_ARGS(sc_exit(ret,) dfd, filename, flags), - 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(unsigned, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fspick -SC_LTTNG_TRACEPOINT_EVENT(fspick, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), - TP_ARGS(sc_exit(ret,) dfd, path, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned 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 __kernel_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 __kernel_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 int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) 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 __kernel_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 __kernel_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 __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_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_sched_getattr -SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int usize, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_rseq -SC_LTTNG_TRACEPOINT_EVENT(rseq, - TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), - TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_pidfd_send_signal -SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, - TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_uring_register -SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), - TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) -) -#endif -#ifndef OVERRIDE_64_openat2 -SC_LTTNG_TRACEPOINT_EVENT(openat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), - 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_64_faccessat2 -SC_LTTNG_TRACEPOINT_EVENT(faccessat2, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), - 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_quotactl_fd -SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), - 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#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 __kernel_old_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 __kernel_old_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_clone -SC_LTTNG_TRACEPOINT_EVENT(clone, - TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, int * child_tidptr, unsigned long tls), - TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, child_tidptr, tls), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls))) -) -#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_kexec_file_load -SC_LTTNG_TRACEPOINT_EVENT(kexec_file_load, - TP_PROTO(sc_exit(long ret,) int kernel_fd, int initrd_fd, unsigned long cmdline_len, const char * cmdline_ptr, unsigned long flags), - TP_ARGS(sc_exit(ret,) kernel_fd, initrd_fd, cmdline_len, cmdline_ptr, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, kernel_fd, kernel_fd)) sc_inout(ctf_integer(int, initrd_fd, initrd_fd)) sc_inout(ctf_integer(unsigned long, cmdline_len, cmdline_len)) sc_inout(ctf_integer(const char *, cmdline_ptr, cmdline_ptr)) sc_inout(ctf_integer(unsigned long, 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_statx -SC_LTTNG_TRACEPOINT_EVENT(statx, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), - 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) -) -#endif -#ifndef OVERRIDE_64_move_mount -SC_LTTNG_TRACEPOINT_EVENT(move_mount, - TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), - TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fsconfig -SC_LTTNG_TRACEPOINT_EVENT(fsconfig, - TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), - TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) -) -#endif -#ifndef OVERRIDE_64_process_madvise -SC_LTTNG_TRACEPOINT_EVENT(process_madvise, - TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), - TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_mount_setattr -SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, - TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), - TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) -) -#endif -#ifndef OVERRIDE_64_futex_waitv -SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, - TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), - TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) -) -#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, const struct __kernel_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(const struct __kernel_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, const unsigned long * nmask, unsigned long maxnode, unsigned int 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned int, 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 __kernel_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 __kernel_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 -#ifndef OVERRIDE_64_copy_file_range -SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, - 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_preadv2 -SC_LTTNG_TRACEPOINT_EVENT(preadv2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pwritev2 -SC_LTTNG_TRACEPOINT_EVENT(pwritev2, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_pgetevents -SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) -) -#endif -#ifndef OVERRIDE_64_io_uring_enter -SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, - TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), - TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) -) -#endif -#ifndef OVERRIDE_64_epoll_pwait2 -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(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-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_clone -TRACE_SYSCALL_TABLE(clone, clone, 56, 5) -#endif -#ifndef OVERRIDE_TABLE_64_execve -TRACE_SYSCALL_TABLE(execve, execve, 59, 3) -#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_modify_ldt -TRACE_SYSCALL_TABLE(modify_ldt, modify_ldt, 154, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 155, 2) -#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_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 -#ifndef OVERRIDE_TABLE_64_sched_setattr -TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 314, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getattr -TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 315, 4) -#endif -#ifndef OVERRIDE_TABLE_64_renameat2 -TRACE_SYSCALL_TABLE(renameat2, renameat2, 316, 5) -#endif -#ifndef OVERRIDE_TABLE_64_seccomp -TRACE_SYSCALL_TABLE(seccomp, seccomp, 317, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getrandom -TRACE_SYSCALL_TABLE(getrandom, getrandom, 318, 3) -#endif -#ifndef OVERRIDE_TABLE_64_memfd_create -TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 319, 2) -#endif -#ifndef OVERRIDE_TABLE_64_kexec_file_load -TRACE_SYSCALL_TABLE(kexec_file_load, kexec_file_load, 320, 5) -#endif -#ifndef OVERRIDE_TABLE_64_bpf -TRACE_SYSCALL_TABLE(bpf, bpf, 321, 3) -#endif -#ifndef OVERRIDE_TABLE_64_execveat -TRACE_SYSCALL_TABLE(execveat, execveat, 322, 5) -#endif -#ifndef OVERRIDE_TABLE_64_copy_file_range -TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 326, 6) -#endif -#ifndef OVERRIDE_TABLE_64_preadv2 -TRACE_SYSCALL_TABLE(preadv2, preadv2, 327, 6) -#endif -#ifndef OVERRIDE_TABLE_64_pwritev2 -TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 328, 6) -#endif -#ifndef OVERRIDE_TABLE_64_statx -TRACE_SYSCALL_TABLE(statx, statx, 332, 5) -#endif -#ifndef OVERRIDE_TABLE_64_io_pgetevents -TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 333, 6) -#endif -#ifndef OVERRIDE_TABLE_64_rseq -TRACE_SYSCALL_TABLE(rseq, rseq, 334, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pidfd_send_signal -TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_setup -TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_enter -TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) -#endif -#ifndef OVERRIDE_TABLE_64_io_uring_register -TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) -#endif -#ifndef OVERRIDE_TABLE_64_open_tree -TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) -#endif -#ifndef OVERRIDE_TABLE_64_move_mount -TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fsopen -TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fsconfig -TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fspick -TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) -#endif -#ifndef OVERRIDE_TABLE_64_clone3 -TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) -#endif -#ifndef OVERRIDE_TABLE_64_openat2 -TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) -#endif -#ifndef OVERRIDE_TABLE_64_faccessat2 -TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) -#endif -#ifndef OVERRIDE_TABLE_64_process_madvise -TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_pwait2 -TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) -#endif -#ifndef OVERRIDE_TABLE_64_mount_setattr -TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) -#endif -#ifndef OVERRIDE_TABLE_64_quotactl_fd -TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) -#endif -#ifndef OVERRIDE_TABLE_64_futex_waitv -TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h deleted file mode 100644 index bd889451..00000000 --- a/include/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h +++ /dev/null @@ -1,176 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#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/include/instrumentation/syscalls/lttng-get-syscall-inout.sh b/include/instrumentation/syscalls/lttng-get-syscall-inout.sh deleted file mode 100755 index 61bd86a4..00000000 --- a/include/instrumentation/syscalls/lttng-get-syscall-inout.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/bash -# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) - -# example usage: -# lttng-get-syscall-inout.sh table-syscall-inout.txt select 1 - -ARCH_NAME=$1 -SYSCALL_NAME=$2 -ARG_NR=$3 -TMPFILE=$(mktemp) -GENERIC_INOUT_DESCRIPTION_FILE="$(dirname "$0")/table-syscall-inout.txt" - -# Delete temp file on exit -trap 'rm -f "$TMPFILE"' EXIT - -if [ x"${GENERIC_INOUT_DESCRIPTION_FILE}" = x"" ]; then - echo "Error: Please specify input file name as first argument" >&2 - exit 1 -fi - -if [ x"${SYSCALL_NAME}" = x"" ]; then - echo "Error: Please specify system call name as second argument" >&2 - exit 1 -fi - -if [[ x"${ARG_NR}" = x"" || ${ARG_NR} == 0 ]]; then - echo "Error: Please specify argument number larger than 0 as third argument" >&2 - exit 1 -fi - -# Search for the in/out description of a syscall. This function attempts to find -# a matching description in the per-architecture description override file (if it exists) -# and falls back to the generic description file otherwise. -# -# Returns 0 if a description was found and written to the output file, 1 otherwise. -function write_inout_description () -{ - local arch_name=$1 - local syscall_name=$2 - local output_file=$3 - local description_files=("$(dirname "$0")/table-syscall-inout-${arch_name}-override.txt" "$GENERIC_INOUT_DESCRIPTION_FILE") - local found=0 - - for file in ${description_files[@]}; do - if [ ! -f "$file" ]; then - continue - fi - - # Look for the syscall's in/out description - grep "syscall ${syscall_name} " "${file}" > "${output_file}" || true - - # Error out if we got more than one syscall - local match_count=$(wc -l < "${output_file}") - if [ "${match_count}" -gt 1 ]; then - # Fatal error; invalid description file - echo "Error: more than one system call match" >&2 - exit 1 - elif [ "${match_count}" -eq 1 ]; then - # Description found - return 0 - fi - done - - return 1 -} - -# Abort on error and undefined variable -set -eu - - -# Default to sc_inout for unknown syscalls -if ! write_inout_description "$ARCH_NAME" "$SYSCALL_NAME" "$TMPFILE"; then - echo "Warning: no match for syscall '${SYSCALL_NAME}', set to 'inout'" >&2 - # no match, default to inout - echo "sc_inout" - exit 0 -fi - -# Get the number of argument -SC_ARGS=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) .*/\2/g' "${TMPFILE}") - -if [ "${ARG_NR}" -gt "${SC_ARGS}" ]; then - echo "Error: argument number (${ARG_NR}) is larger than number of syscall arguments (${SC_ARGS})" >&2 - exit 1 -fi - -if [ "${ARG_NR}" == 1 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: (\([^,)]*\).*/\3/g' "${TMPFILE}") -fi - -if [ "${ARG_NR}" == 2 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") -fi - -if [ "${ARG_NR}" == 3 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") -fi - -if [ "${ARG_NR}" == 4 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") -fi - -if [ "${ARG_NR}" == 5 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") -fi - -if [ "${ARG_NR}" == 6 ]; then - SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") -fi - - -if [ "${SC_ARG_TYPE}" = "r" ]; then - echo "sc_in" -fi -if [ "${SC_ARG_TYPE}" = "w" ]; then - echo "sc_out" -fi -if [ "${SC_ARG_TYPE}" = "rw" ]; then - echo "sc_inout" -fi - -# EOF diff --git a/include/instrumentation/syscalls/lttng-syscalls-extract.sh b/include/instrumentation/syscalls/lttng-syscalls-extract.sh deleted file mode 100755 index d68baa96..00000000 --- a/include/instrumentation/syscalls/lttng-syscalls-extract.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) - -set -eu - -outfile="${1:-}" - -if [ "x$outfile" = "x" ]; then - echo "Specify an output file as first argument, it will be overwritten." - exit 1 -fi - -cd lttng-syscalls-extractor || exit 1 -make -cd - || exit 1 - -# Generate a random string to use as an identifier -ident=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 8 | head -n1) - -sudo insmod ./lttng-syscalls-extractor/lttng-syscalls-extractor.ko ident="$ident" || true - -sudo dmesg | sed -n -e 's/\(\[.*\] \)\?'"$ident"'//p' > "$outfile" - -# Make sure we have both the start and end markers -if grep -q -- '---START---' "$outfile"; then - sed -i '/^---START---/d' "$outfile" -else - echo "Error: Start marker missing from dmesg output, your kernel log buffer is probably too small, set CONFIG_LOG_BUF_SHIFT to a bigger value." - exit 1 -fi - -if grep -q -- '---END---' "$outfile"; then - sed -i '/^---END---/d' "$outfile" -else - echo "Error: End marker missing from dmesg output, something went wrong." - exit 1 -fi diff --git a/include/instrumentation/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch b/include/instrumentation/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch deleted file mode 100644 index 5269071f..00000000 --- a/include/instrumentation/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch +++ /dev/null @@ -1,26 +0,0 @@ -Linux: link syscalls metadata as data (for LTTng syscall extraction) - -* NOT for mainline * - -Signed-off-by: Mathieu Desnoyers - -diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h -index e00f41aa8ec4..13f51fa7c3f3 100644 ---- a/include/asm-generic/vmlinux.lds.h -+++ b/include/asm-generic/vmlinux.lds.h -@@ -318,6 +318,7 @@ - __end_once = .; \ - STRUCT_ALIGN(); \ - *(__tracepoints) \ -+ TRACE_SYSCALLS() \ - /* implement dynamic printk debug */ \ - . = ALIGN(8); \ - __start___verbose = .; \ -@@ -650,7 +651,6 @@ - MCOUNT_REC() \ - *(.init.rodata .init.rodata.*) \ - FTRACE_EVENTS() \ -- TRACE_SYSCALLS() \ - KPROBE_BLACKLIST() \ - ERROR_INJECT_WHITELIST() \ - MEM_DISCARD(init.rodata) \ diff --git a/include/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/include/instrumentation/syscalls/lttng-syscalls-generate-headers.sh deleted file mode 100755 index b93bf7c7..00000000 --- a/include/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ /dev/null @@ -1,357 +0,0 @@ -#!/bin/bash - -# Generate system call probe description macros from syscall metadata dump file. -# The resulting header will be written in the headers subdirectory, in a file name -# based on the name of the input file. -# -# example usage: -# -# lttng-syscalls-generate-headers.sh -# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls x86-64 64 -# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls x86-64 64 - -CLASS=$1 -VERSIONDIR=$2 -INPUTFILE=$3 -ARCH_NAME=$4 -BITNESS=$5 -INPUT=${VERSIONDIR}/${INPUTFILE} -HEADER=headers/${INPUTFILE}_${CLASS}.h - -if [ x"$VERSIONDIR" = x"" ]; then - echo "Error: Please specify input directory as second argument" >&2 - exit 1 -fi - -if [ x"$INPUTFILE" = x"" ]; then - echo "Error: Please specify input file as third argument" >&2 - exit 1 -fi - -if [ x"$BITNESS" != x"32" ] && [ x"$BITNESS" != x"64" ]; then - echo "Error: Please specify bitness as fourth argument (\"32\" or \"64\")" >&2 - exit 1 -fi - -if [ x"$ARCH_NAME" = x"" ]; then - echo "Error: Please specify the architecture name as fourth argument" >&2 - exit 1 -fi - -# Abort on error and undefined variable -set -eu - -# Create temp files -SRCFILE=$(mktemp) -TMPFILE=$(mktemp) - -# Delete temp files on exit -trap 'rm -f "${SRCFILE}" "${TMPFILE}"' EXIT - -cp "${INPUT}" "${SRCFILE}" - -## Cleanup the input file -# Remove the dmesg timestamp if present -perl -pi -e 's/^\[.*\] //g' "${SRCFILE}" -# Remove the 'sys_' prefix from syscall names -perl -pi -e 's/^syscall sys_([^ ]*)/syscall $1/g' "${SRCFILE}" -# Remove the user attribute from arguments -sed -i 's/ __attribute__((user))//g' "${SRCFILE}" - -#Filter - -if [ "$CLASS" = integers ]; then - #select integers and no-args. - CLASSCAP=INTEGERS - grep -v "\\*\|cap_user_header_t" "${SRCFILE}" > "${TMPFILE}" - mv "${TMPFILE}" "${SRCFILE}" -elif [ "$CLASS" = pointers ]; then - #select system calls using pointers. - CLASSCAP=POINTERS - grep "\\*\|cap_#user_header_t" "${SRCFILE}" > "${TMPFILE}" - mv "${TMPFILE}" "${SRCFILE}" -else - echo "Error: Please specify \"integers\" or \"pointers\" as first argument" >&2 - exit 1 -fi - - -echo "/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -/* 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) -#define _TRACE_SYSCALLS_${CLASSCAP}_H - -#include -#include -#include \"${INPUTFILE}_${CLASS}_override.h\" -#include \"syscalls_${CLASS}_override.h\" -" > "${HEADER}" - -if [ "$CLASS" = integers ]; then - - NRARGS=0 - - # shellcheck disable=SC2129 - printf \ -'#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -' >> "${HEADER}" - - # shellcheck disable=SC2026 - grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ - perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^)]*)\) '\ -'args: \(([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, $1)\n'\ -'#endif/g' >> "${HEADER}" - - printf '#else /* #ifdef SC_ENTER */\n' >> "${HEADER}" - - # shellcheck disable=SC2026 - grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ - perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^)]*)\) '\ -'args: \(([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret)),\n'\ -' TP_ARGS(sc_exit(ret)),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" - - printf '#endif /* else #ifdef SC_ENTER */\n' >> "${HEADER}" - -fi - - -# types: 4 -# args 5 - -NRARGS=1 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - - echo Syscall: "${SC_NAME}" "${ARG1}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^)]*)\) '\ -'args: \(([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $5),\n'\ -' TP_ARGS(sc_exit(ret,) $5),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $5, $5)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - -# types: 4 5 -# args 6 7 - -NRARGS=2 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) - - echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^,]*), ([^)]*)\) '\ -'args: \(([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $6, $5 $7),\n'\ -' TP_ARGS(sc_exit(ret,) $6, $7),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $6, $6)) '"${ARG2}"'(ctf_integer($5, $7, $7)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - -# types: 4 5 6 -# args 7 8 9 - -NRARGS=3 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) - ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) - - echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^,]*), ([^,]*), ([^)]*)\) '\ -'args: \(([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $7, $5 $8, $6 $9),\n'\ -' TP_ARGS(sc_exit(ret,) $7, $8, $9),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $7, $7)) '"${ARG2}"'(ctf_integer($5, $8, $8)) '"${ARG3}"'(ctf_integer($6, $9, $9)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - - -# types: 4 5 6 7 -# args 8 9 10 11 - -NRARGS=4 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) - ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) - ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) - - echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ -'args: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $8, $5 $9, $6 $10, $7 $11),\n'\ -' TP_ARGS(sc_exit(ret,) $8, $9, $10, $11),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $8, $8)) '"${ARG2}"'(ctf_integer($5, $9, $9)) '"${ARG3}"'(ctf_integer($6, $10, $10)) '"${ARG4}"'(ctf_integer($7, $11, $11)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - -# types: 4 5 6 7 8 -# args 9 10 11 12 13 - -NRARGS=5 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) - ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) - ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) - ARG5=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 5) - - echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" "${ARG5}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ -'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $9, $5 $10, $6 $11, $7 $12, $8 $13),\n'\ -' TP_ARGS(sc_exit(ret,) $9, $10, $11, $12, $13),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $9, $9)) '"${ARG2}"'(ctf_integer($5, $10, $10)) '"${ARG3}"'(ctf_integer($6, $11, $11)) '"${ARG4}"'(ctf_integer($7, $12, $12)) '"${ARG5}"'(ctf_integer($8, $13, $13)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - - -# types: 4 5 6 7 8 9 -# args 10 11 12 13 14 15 - -NRARGS=6 -grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do - SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') - ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) - ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) - ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) - ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) - ARG5=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 5) - ARG6=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 6) - - echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" "${ARG5}" "${ARG6}" - - # shellcheck disable=SC2026 - echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ -'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\) '\ -'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\)/'\ -'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ -' TP_PROTO(sc_exit(long ret,) $4 $10, $5 $11, $6 $12, $7 $13, $8 $14, $9 $15),\n'\ -' TP_ARGS(sc_exit(ret,) $10, $11, $12, $13, $14, $15),\n'\ -' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $10, $10)) '"${ARG2}"'(ctf_integer($5, $11, $11)) '"${ARG3}"'(ctf_integer($6, $12, $12)) '"${ARG4}"'(ctf_integer($7, $13, $13)) '"${ARG5}"'(ctf_integer($8, $14, $14)) '"${ARG6}"'(ctf_integer($9, $15, $15)))\n'\ -')\n'\ -'#endif/g' >> "${HEADER}" -done - -# Macro for tracing syscall table - -echo \ -" -#endif /* _TRACE_SYSCALLS_${CLASSCAP}_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include \"${INPUTFILE}_${CLASS}_override.h\" -#include \"syscalls_${CLASS}_override.h\" -" >> "${HEADER}" - -NRARGS=0 - -if [ "$CLASS" = integers ]; then - #noargs - - # shellcheck disable=SC2129 - printf '#ifdef SC_ENTER\n' >> "${HEADER}" - - # shellcheck disable=SC2026 - grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ - perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ -'TRACE_SYSCALL_TABLE\(syscalls_noargs, $1, $2, $3\)\n'\ -'#endif/g' >> "${HEADER}" - - printf '#else /* #ifdef SC_ENTER */\n' >> "${HEADER}" - - # shellcheck disable=SC2026 - grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ - perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ -'TRACE_SYSCALL_TABLE($1, $1, $2, $3)\n'\ -'#endif/g' >> "${HEADER}" - - printf '#endif /* else #ifdef SC_ENTER */\n' >> "${HEADER}" -fi - -#others. -# shellcheck disable=SC2026 -grep -v "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ - perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ -'TRACE_SYSCALL_TABLE($1, $1, $2, $3)\n'\ -'#endif/g' >> "${HEADER}" - -printf '\n#endif /* CREATE_SYSCALL_TABLE */\n' >> "${HEADER}" - -#fields names: ...char * type with *name* or *file* or *path* or *root* -# or *put_old* or *type* -perl -pi -e 's/ctf_integer\(([^,)]*char \*), ([^\)]*)(name|file|path|root|put_old|type)([^\)]*)\)/ctf_user_string($2$3$4)/g' \ - "${HEADER}" - -#prettify addresses heuristics. -#field names with addr or ptr -perl -pi -e 's/ctf_integer\(([^,)]*), ([^,)]*addr|[^,)]*ptr)([^),]*)\)/ctf_integer_hex($1, $2$3, $2$3)/g' \ - "${HEADER}" - -#field types ending with '*' -perl -pi -e 's/ctf_integer\(([^,)]*\*), ([^),]*)\)/ctf_integer_hex($1, $2, $2)/g' "${HEADER}" - -# EOF diff --git a/include/instrumentation/syscalls/mips-32-syscalls_integers.h b/include/instrumentation/syscalls/mips-32-syscalls_integers.h new file mode 100644 index 00000000..1daea752 --- /dev/null +++ b/include/instrumentation/syscalls/mips-32-syscalls_integers.h @@ -0,0 +1,1114 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/mips-32-syscalls_integers_override.h b/include/instrumentation/syscalls/mips-32-syscalls_integers_override.h new file mode 100644 index 00000000..64021873 --- /dev/null +++ b/include/instrumentation/syscalls/mips-32-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* + * this is a place-holder for MIPS integer syscall definition override. + */ diff --git a/include/instrumentation/syscalls/mips-32-syscalls_pointers.h b/include/instrumentation/syscalls/mips-32-syscalls_pointers.h new file mode 100644 index 00000000..3ff5ad7f --- /dev/null +++ b/include/instrumentation/syscalls/mips-32-syscalls_pointers.h @@ -0,0 +1,1899 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/mips-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/mips-32-syscalls_pointers_override.h new file mode 100644 index 00000000..9a38fb5a --- /dev/null +++ b/include/instrumentation/syscalls/mips-32-syscalls_pointers_override.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/mips-64-syscalls_integers.h b/include/instrumentation/syscalls/mips-64-syscalls_integers.h new file mode 100644 index 00000000..855087f6 --- /dev/null +++ b/include/instrumentation/syscalls/mips-64-syscalls_integers.h @@ -0,0 +1,1170 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/mips-64-syscalls_integers_override.h b/include/instrumentation/syscalls/mips-64-syscalls_integers_override.h new file mode 100644 index 00000000..64021873 --- /dev/null +++ b/include/instrumentation/syscalls/mips-64-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* + * this is a place-holder for MIPS integer syscall definition override. + */ diff --git a/include/instrumentation/syscalls/mips-64-syscalls_pointers.h b/include/instrumentation/syscalls/mips-64-syscalls_pointers.h new file mode 100644 index 00000000..203da38e --- /dev/null +++ b/include/instrumentation/syscalls/mips-64-syscalls_pointers.h @@ -0,0 +1,1869 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/mips-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/mips-64-syscalls_pointers_override.h new file mode 100644 index 00000000..eb2b48cf --- /dev/null +++ b/include/instrumentation/syscalls/mips-64-syscalls_pointers_override.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/powerpc-32-syscalls_integers.h b/include/instrumentation/syscalls/powerpc-32-syscalls_integers.h new file mode 100644 index 00000000..2c8f40de --- /dev/null +++ b/include/instrumentation/syscalls/powerpc-32-syscalls_integers.h @@ -0,0 +1,1070 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/powerpc-32-syscalls_integers_override.h b/include/instrumentation/syscalls/powerpc-32-syscalls_integers_override.h new file mode 100644 index 00000000..529a4927 --- /dev/null +++ b/include/instrumentation/syscalls/powerpc-32-syscalls_integers_override.h @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/powerpc-32-syscalls_pointers.h b/include/instrumentation/syscalls/powerpc-32-syscalls_pointers.h new file mode 100644 index 00000000..d9cde3a8 --- /dev/null +++ b/include/instrumentation/syscalls/powerpc-32-syscalls_pointers.h @@ -0,0 +1,1939 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* 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/include/instrumentation/syscalls/powerpc-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/powerpc-32-syscalls_pointers_override.h new file mode 100644 index 00000000..fde30d27 --- /dev/null +++ b/include/instrumentation/syscalls/powerpc-32-syscalls_pointers_override.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/syscalls_integers.h b/include/instrumentation/syscalls/syscalls_integers.h new file mode 100644 index 00000000..ea8e29bc --- /dev/null +++ b/include/instrumentation/syscalls/syscalls_integers.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifdef CONFIG_X86_64 +#include "x86-64-syscalls_integers.h" +#endif + +#ifdef CONFIG_X86_32 +#include "x86-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_ARM +#include "arm-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_PPC +#include "powerpc-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_CPU_MIPS32 +#include "mips-32-syscalls_integers.h" +#endif + +#ifdef CONFIG_ARM64 +#include "arm-64-syscalls_integers.h" +#endif diff --git a/include/instrumentation/syscalls/syscalls_integers_override.h b/include/instrumentation/syscalls/syscalls_integers_override.h new file mode 100644 index 00000000..74bc9dcf --- /dev/null +++ b/include/instrumentation/syscalls/syscalls_integers_override.h @@ -0,0 +1,225 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifndef CREATE_SYSCALL_TABLE + +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM + +/* + * The `flags` argument of the mmap syscall is split in two parts: + * - The type of mapping is described by the four least significant bits of the 4 + * bytes integer, + * - The options on the mapping are described by the remaining 28 most + * significant bits. + */ +#define MAPPING_TYPE_RESERVED_BITS 4 +#define LTTNG_MMAP_FLAGS_TO_CTF(x) ((x) >> MAPPING_TYPE_RESERVED_BITS) + +/* + * Enumeration of the mmap flags, as described in the 'mmap' + * system call man page. + */ +SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_protection, + TP_ENUM_VALUES( + ctf_enum_value("PROT_EXEC", PROT_EXEC) + ctf_enum_value("PROT_READ", PROT_READ) + ctf_enum_value("PROT_WRITE", PROT_WRITE) + ctf_enum_value("PROT_NONE", PROT_NONE) + ) +) + +SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_flags_mapping_type, + TP_ENUM_VALUES( + ctf_enum_value("MAP_SHARED", MAP_SHARED) + ctf_enum_value("MAP_PRIVATE", MAP_PRIVATE) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) + ctf_enum_value("MAP_SHARED_VALIDATE", MAP_SHARED_VALIDATE) +#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) */ + ) +) + +/* + * Shift the values of the options so we can read them from the `flags` integer + * directly. + */ +SC_LTTNG_TRACEPOINT_ENUM(lttng_mmap_flags_options, + TP_ENUM_VALUES( + ctf_enum_value("", 0) + +#if defined (MAP_32BIT) && MAP_32BIT != 0 + ctf_enum_value("MAP_32BIT", LTTNG_MMAP_FLAGS_TO_CTF(MAP_32BIT)) +#endif /* defined (MAP_32BIT) && MAP_32BIT != 0 */ + + ctf_enum_value("MAP_ANONYMOUS", LTTNG_MMAP_FLAGS_TO_CTF(MAP_ANONYMOUS)) + ctf_enum_value("MAP_DENYWRITE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_DENYWRITE)) + ctf_enum_value("MAP_EXECUTABLE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_EXECUTABLE)) + ctf_enum_value("MAP_FIXED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_FIXED)) + +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,17,0)) + ctf_enum_value("MAP_FIXED_NOREPLACE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_FIXED_NOREPLACE)) +#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,17,0)) */ + + ctf_enum_value("MAP_GROWSDOWN", LTTNG_MMAP_FLAGS_TO_CTF(MAP_GROWSDOWN)) + ctf_enum_value("MAP_HUGETLB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGETLB)) + +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) + +#if defined (MAP_HUGE_2MB) && MAP_HUGE_2MB != 0 + ctf_enum_value("MAP_HUGE_2MB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGE_2MB)) +#endif /* defined (MAP_HUGE_2MB) && MAP_HUGE_2MB != 0 */ + +#if defined (MAP_HUGE_1GB) && MAP_HUGE_1GB != 0 + ctf_enum_value("MAP_HUGE_1GB", LTTNG_MMAP_FLAGS_TO_CTF(MAP_HUGE_1GB)) +#endif /* defined (MAP_HUGE_1GB) && MAP_HUGE_1GB != 0 */ + +#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) */ + + ctf_enum_value("MAP_LOCKED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_LOCKED)) + ctf_enum_value("MAP_NONBLOCK", LTTNG_MMAP_FLAGS_TO_CTF(MAP_NONBLOCK)) + ctf_enum_value("MAP_NORESERVE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_NORESERVE)) + ctf_enum_value("MAP_POPULATE", LTTNG_MMAP_FLAGS_TO_CTF(MAP_POPULATE)) + ctf_enum_value("MAP_STACK", LTTNG_MMAP_FLAGS_TO_CTF(MAP_STACK)) + +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) + ctf_enum_value("MAP_SYNC", LTTNG_MMAP_FLAGS_TO_CTF(MAP_SYNC)) +#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) */ + +#if defined (MAP_UNINITIALIZED) && MAP_UNINITIALIZED != 0 + ctf_enum_value("MAP_UNINITIALIZED", LTTNG_MMAP_FLAGS_TO_CTF(MAP_UNINITIALIZED)) +#endif /* defined (MAP_UNINITIALIZED) && MAP_UNINITIALIZED != 0 */ + ) +) + +#define LTTNG_MMAP_FLAGS_TYPE \ + lttng_kernel_static_event_field("type", \ + lttng_kernel_static_type_enum(&__enum_lttng_mmap_flags_mapping_type, \ + lttng_kernel_static_type_integer(4, 1, 0, __BYTE_ORDER, 16)), \ + false, false) + +#define LTTNG_MMAP_FLAGS_OPTIONS \ + lttng_kernel_static_event_field("options", \ + lttng_kernel_static_type_enum(&__enum_lttng_mmap_flags_options, \ + lttng_kernel_static_type_integer(28, 1, 0, __BYTE_ORDER, 16)), \ + false, false) + +#if (__BYTE_ORDER == __LITTLE_ENDIAN) +#define LTTNG_MMAP_FLAGS \ +lttng_kernel_static_event_field_array( \ + [0] = LTTNG_MMAP_FLAGS_TYPE, \ + [1] = LTTNG_MMAP_FLAGS_OPTIONS, \ +) +#else +#define LTTNG_MMAP_FLAGS \ +lttng_kernel_static_event_field_array( \ + [0] = LTTNG_MMAP_FLAGS_OPTIONS, \ + [1] = LTTNG_MMAP_FLAGS_TYPE, \ +) +#endif + +#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ + +#define OVERRIDE_32_mmap +#define OVERRIDE_64_mmap +SC_LTTNG_TRACEPOINT_EVENT(mmap, + TP_PROTO(sc_exit(unsigned 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_hex(unsigned long, ret, ret)) + sc_in(ctf_integer_hex(unsigned long, addr, addr)) + sc_in(ctf_integer(size_t, len, len)) +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM + /* + * Use a custom field here so that tracer writes a single + * integer and the work of splitting it up in two fields is + * left to the trace reader. + */ + sc_in(ctf_enum(lttng_mmap_protection, int, prot, prot)) + sc_in( + ctf_custom_field( + ctf_custom_type( + lttng_kernel_static_type_struct(2, LTTNG_MMAP_FLAGS, lttng_alignof(uint32_t) * CHAR_BIT) + ), + flags, + ctf_custom_code( + ctf_integer_type(uint32_t, flags) + ) + ) + ) +#else + sc_in(ctf_integer(int, prot, prot)) + sc_in(ctf_integer(int, flags, flags)) +#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(off_t, offset, off)) + ) +) + +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM +/* + * Enumeration of the open flags, as described in the 'open' + * system call man page. + */ +SC_LTTNG_TRACEPOINT_ENUM(lttng_fcntl_cmd_flags, + TP_ENUM_VALUES( + ctf_enum_value("F_DUPFD", F_DUPFD) + ctf_enum_value("F_GETFD", F_GETFD) + ctf_enum_value("F_SETFD", F_SETFD) + ctf_enum_value("F_GETFL", F_GETFL) + ctf_enum_value("F_SETFL", F_SETFL) + ctf_enum_value("F_GETLK", F_GETLK) + ctf_enum_value("F_SETLK", F_SETLK) + ctf_enum_value("F_SETLKW", F_SETLKW) + ctf_enum_value("F_SETOWN", F_SETOWN) + ctf_enum_value("F_GETOWN", F_GETOWN) + ctf_enum_value("F_SETSIG", F_SETSIG) + ctf_enum_value("F_GETSIG", F_GETSIG) +#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) + ctf_enum_value("F_GETLK64", F_GETLK64) + ctf_enum_value("F_SETLK64", F_SETLK64) + ctf_enum_value("F_SETLKW64", F_SETLKW64) +#endif /* #if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) */ + ctf_enum_value("F_SETOWN_EX", F_SETOWN_EX) + ctf_enum_value("F_GETOWN_EX", F_GETOWN_EX) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,6,0)) + ctf_enum_value("F_GETOWNER_UIDS", F_GETOWNER_UIDS) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,6,0)) */ +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) + ctf_enum_value("F_OFD_GETLK", F_OFD_GETLK) + ctf_enum_value("F_OFD_SETLK", F_OFD_SETLK) + ctf_enum_value("F_OFD_SETLKW", F_OFD_SETLKW) +#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) */ + ctf_enum_value("F_SETLEASE", F_SETLEASE) + ctf_enum_value("F_GETLEASE", F_GETLEASE) + ctf_enum_value("F_NOTIFY", F_NOTIFY) + ctf_enum_value("F_CANCELLK", F_CANCELLK) + ctf_enum_value("F_DUPFD_CLOEXEC", F_DUPFD_CLOEXEC) + ctf_enum_value("F_SETPIPE_SZ", F_SETPIPE_SZ) + ctf_enum_value("F_GETPIPE_SZ", F_GETPIPE_SZ) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0)) + ctf_enum_value("F_ADD_SEALS", F_ADD_SEALS) + ctf_enum_value("F_GET_SEALS", F_GET_SEALS) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0)) */ +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0)) + ctf_enum_value("F_GET_RW_HINT", F_GET_RW_HINT) + ctf_enum_value("F_SET_RW_HINT", F_SET_RW_HINT) + ctf_enum_value("F_GET_FILE_RW_HINT", F_GET_FILE_RW_HINT) + ctf_enum_value("F_SET_FILE_RW_HINT", F_SET_FILE_RW_HINT) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0)) */ + ) +) + +#define OVERRIDE_32_fcntl +#define 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_enum(lttng_fcntl_cmd_flags, unsigned int, cmd, cmd)) + sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/syscalls_pointers.h b/include/instrumentation/syscalls/syscalls_pointers.h new file mode 100644 index 00000000..a2ee3127 --- /dev/null +++ b/include/instrumentation/syscalls/syscalls_pointers.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifdef CONFIG_X86_64 +#include "x86-64-syscalls_pointers.h" +#endif + +#ifdef CONFIG_X86_32 +#include "x86-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_ARM +#include "arm-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_PPC +#include "powerpc-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_CPU_MIPS32 +#include "mips-32-syscalls_pointers.h" +#endif + +#ifdef CONFIG_ARM64 +#include "arm-64-syscalls_pointers.h" +#endif diff --git a/include/instrumentation/syscalls/syscalls_pointers_override.h b/include/instrumentation/syscalls/syscalls_pointers_override.h new file mode 100644 index 00000000..00e5990c --- /dev/null +++ b/include/instrumentation/syscalls/syscalls_pointers_override.h @@ -0,0 +1,1112 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_32_execve +#define OVERRIDE_64_execve +SC_LTTNG_TRACEPOINT_EVENT(execve, + TP_PROTO(sc_exit(long ret,) const char *filename, char *const *argv, char *const *envp), + TP_ARGS(sc_exit(ret,) filename, argv, envp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_user_string(filename, filename)) + sc_in(ctf_integer_hex(char *const *, argv, argv)) + sc_in(ctf_integer_hex(char *const *, envp, envp)) + ) +) + +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM + +/* + * Clone()'s `flags` field has two parts: + * 1. exit signal: the least significant byte of the `unsigned long` is + * the signal the kernel must send to the parent process on child + * exit, + * 2. clone options: the remaining bytes of the `unsigned long` is used a + * bitwise flag for the clone options. + */ +#define CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS 8 +#define LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(x) ((x) >> CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS) + +SC_LTTNG_TRACEPOINT_ENUM(lttng_clone_exit_signal_flags, + TP_ENUM_VALUES( + ctf_enum_value("SIGHUP", SIGHUP) + ctf_enum_value("SIGINT", SIGINT) + ctf_enum_value("SIGQUIT", SIGQUIT) + ctf_enum_value("SIGILL", SIGILL) + ctf_enum_value("SIGTRAP", SIGTRAP) + ctf_enum_value("SIGABRT", SIGABRT) + ctf_enum_value("SIGIOT", SIGIOT) + ctf_enum_value("SIGBUS", SIGBUS) +#ifdef SIGEMT + ctf_enum_value("SIGEMT", SIGEMT) +#endif /* #ifdef SIGEMT */ + ctf_enum_value("SIGFPE", SIGFPE) + ctf_enum_value("SIGKILL", SIGKILL) + ctf_enum_value("SIGUSR1", SIGUSR1) + ctf_enum_value("SIGSEGV", SIGSEGV) + ctf_enum_value("SIGUSR2", SIGUSR2) + ctf_enum_value("SIGPIPE", SIGPIPE) + ctf_enum_value("SIGALRM", SIGALRM) + ctf_enum_value("SIGTERM", SIGTERM) +#ifdef SIGSTKFLT + ctf_enum_value("SIGSTKFLT", SIGSTKFLT) +#endif /* #ifdef SIGSTKFLT */ + ctf_enum_value("SIGCHLD", SIGCHLD) +#ifdef SIGCLD + ctf_enum_value("SIGCLD", SIGCLD) +#endif /* #ifdef SIGCLD */ + ctf_enum_value("SIGCONT", SIGCONT) + ctf_enum_value("SIGSTOP", SIGSTOP) + ctf_enum_value("SIGTSTP", SIGTSTP) + ctf_enum_value("SIGTTIN", SIGTTIN) + ctf_enum_value("SIGTTOU", SIGTTOU) + ctf_enum_value("SIGURG", SIGURG) + ctf_enum_value("SIGXCPU", SIGXCPU) + ctf_enum_value("SIGXFSZ", SIGXFSZ) + ctf_enum_value("SIGVTALR", SIGVTALRM) + ctf_enum_value("SIGPROF", SIGPROF) + ctf_enum_value("SIGWINCH", SIGWINCH) + ctf_enum_value("SIGIO", SIGIO) + ctf_enum_value("SIGPOLL", SIGPOLL) + ctf_enum_value("SIGPWR", SIGPWR) +#ifdef SIGINFO + ctf_enum_value("SIGINFO", SIGINFO) +#endif /* #ifdef SIGINFO */ +#ifdef SIGLOST + ctf_enum_value("SIGLOST", SIGLOST) +#endif /* #ifdef SIGLOST */ + ctf_enum_value("SIGSYS", SIGSYS) +#ifdef SIGUNUSED + ctf_enum_value("SIGUNUSED", SIGUNUSED) +#endif /* #ifdef SIGUNUSED */ + ) +) + +SC_LTTNG_TRACEPOINT_ENUM(lttng_clone_option_flags, + TP_ENUM_VALUES( + ctf_enum_value("CLONE_CHILD_CLEARTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CHILD_CLEARTID)) + ctf_enum_value("CLONE_CHILD_SETTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CHILD_SETTID)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,5,0)) + ctf_enum_value("CLONE_CLEAR_SIGHAND", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_CLEAR_SIGHAND)) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,5,0)) */ + ctf_enum_value("CLONE_DETACHED", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_DETACHED)) + ctf_enum_value("CLONE_FILES", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_FILES)) + ctf_enum_value("CLONE_FS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_FS)) + ctf_enum_value("CLONE_IO", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_IO)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) + ctf_enum_value("CLONE_NEWCGROUP", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWCGROUP)) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) */ + ctf_enum_value("CLONE_NEWIPC", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWIPC)) + ctf_enum_value("CLONE_NEWNET", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWNET)) + ctf_enum_value("CLONE_NEWNS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWNS)) + ctf_enum_value("CLONE_NEWPID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWPID)) + ctf_enum_value("CLONE_NEWUSER", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWUSER)) + ctf_enum_value("CLONE_NEWUTS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_NEWUTS)) + ctf_enum_value("CLONE_PARENT", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PARENT)) + ctf_enum_value("CLONE_PARENT_SETTID", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PARENT_SETTID)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) + ctf_enum_value("CLONE_PIDFD", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PIDFD)) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) */ + ctf_enum_value("CLONE_PTRACE", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_PTRACE)) + ctf_enum_value("CLONE_SETTLS", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SETTLS)) + ctf_enum_value("CLONE_SIGHAND", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SIGHAND)) + ctf_enum_value("CLONE_SYSVSEM", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_SYSVSEM)) + ctf_enum_value("CLONE_THREAD", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_THREAD)) + ctf_enum_value("CLONE_UNTRACED", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_UNTRACED)) + ctf_enum_value("CLONE_VFORK", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_VFORK)) + ctf_enum_value("CLONE_VM", LTTNG_CLONE_OPTIONS_FLAGS_TO_CTF(CLONE_VM)) + ) +) + +#define LTTNG_CLONE_FLAGS_EXIT_SIGNAL \ + lttng_kernel_static_event_field("exit_signal", \ + lttng_kernel_static_type_enum(&__enum_lttng_clone_exit_signal_flags, \ + lttng_kernel_static_type_integer(CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS, \ + 1, 0, __BYTE_ORDER, 16)), \ + false, false) + +#define LTTNG_CLONE_FLAGS_OPTIONS \ + lttng_kernel_static_event_field("options", \ + lttng_kernel_static_type_enum(&__enum_lttng_clone_option_flags, \ + lttng_kernel_static_type_integer( \ + sizeof(unsigned long) * CHAR_BIT - CLONE_EXIT_SIGNAL_FLAG_RESERVED_BITS, \ + 1, 0, __BYTE_ORDER, 16)), \ + false, false) + +#if (__BYTE_ORDER == __LITTLE_ENDIAN) +#define LTTNG_CLONE_FLAGS \ +lttng_kernel_static_event_field_array( \ + [0] = LTTNG_CLONE_FLAGS_EXIT_SIGNAL, \ + [1] = LTTNG_CLONE_FLAGS_OPTIONS, \ +) +#else +#define LTTNG_CLONE_FLAGS \ +lttng_kernel_static_event_field_array( \ + [0] = LTTNG_CLONE_FLAGS_OPTIONS, \ + [1] = LTTNG_CLONE_FLAGS_EXIT_SIGNAL, \ +) +#endif + +#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ + +#define OVERRIDE_32_clone +#define OVERRIDE_64_clone +SC_LTTNG_TRACEPOINT_EVENT(clone, + TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, + void __user *parent_tid, + void __user *child_tid), + TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tid, child_tid), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in( +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM + ctf_custom_field( + ctf_custom_type( + lttng_kernel_static_type_struct(2, LTTNG_CLONE_FLAGS, lttng_alignof(unsigned long) * CHAR_BIT) + ), + flags, + ctf_custom_code( + ctf_integer_type(unsigned long, clone_flags) + ) + ) +#else + ctf_integer_hex(unsigned long, flags, clone_flags) +#endif + ) + sc_in(ctf_integer_hex(unsigned long, newsp, newsp)) + sc_in(ctf_integer_hex(void *, parent_tid, parent_tid)) + sc_in(ctf_integer_hex(void *, child_tid, child_tid)) + ) +) + +/* present in 32, missing in 64 due to old kernel headers */ +#define OVERRIDE_32_getcpu +#define OVERRIDE_64_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned __user *cpup, unsigned __user *nodep, void *tcache), + TP_ARGS(sc_exit(ret,) cpup, nodep, tcache), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_out(ctf_integer_hex(unsigned *, cpup, cpup)) + sc_out(ctf_integer_hex(unsigned *, nodep, nodep)) + sc_inout(ctf_integer_hex(void *, tcache, tcache)) + ) +) + +#define OVERRIDE_32_pipe2 +#define 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_user_array(int, fildes, fildes, 2)) + sc_in(ctf_integer(int, flags, flags)) + ) +) + +#define LTTNG_SYSCALL_SELECT_locvar \ + unsigned long *fds_in, *fds_out, *fds_ex; \ + unsigned long nr_bytes, nr_ulong; \ + uint8_t overflow; + +#define LTTNG_SYSCALL_SELECT_code_pre \ + sc_inout( \ + { \ + int err; \ + unsigned int n_in_bytes; \ + \ + tp_locvar->fds_in = NULL; \ + tp_locvar->fds_out = NULL; \ + tp_locvar->fds_ex = NULL; \ + tp_locvar->overflow = 0; \ + \ + sc_out( \ + if (ret <= 0) \ + goto error; \ + ) \ + \ + if (n <= 0) \ + goto error; \ + \ + /* On error or bogus input, don't copy anything. */ \ + if (n >__FD_SETSIZE) \ + goto error; \ + \ + n_in_bytes = DIV_ROUND_UP((unsigned int) n, BITS_PER_BYTE); \ + \ + /* \ + * Limit atomic memory allocation to one page, since n \ + * is limited to 1024 and the smallest page size on Linux \ + * is 4k, this should not happen, don't try to make it work. \ + */ \ + if (n_in_bytes > PAGE_SIZE) { \ + WARN_ON_ONCE(1); \ + /* Inform the user that we did not output everything. */ \ + tp_locvar->overflow = 1; \ + goto error; \ + } else { \ + tp_locvar->nr_bytes = n_in_bytes; \ + tp_locvar->nr_ulong = DIV_ROUND_UP(n_in_bytes, \ + sizeof(unsigned long)); \ + } \ + \ + if (inp) { \ + tp_locvar->fds_in = lttng_tp_mempool_alloc( \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (!tp_locvar->fds_in) \ + goto error; \ + \ + err = lib_ring_buffer_copy_from_user_check_nofault( \ + tp_locvar->fds_in, inp, \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (err != 0) \ + goto error; \ + } \ + if (outp) { \ + tp_locvar->fds_out = lttng_tp_mempool_alloc( \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (!tp_locvar->fds_out) \ + goto error; \ + \ + err = lib_ring_buffer_copy_from_user_check_nofault( \ + tp_locvar->fds_out, outp, \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (err != 0) \ + goto error; \ + } \ + if (exp) { \ + tp_locvar->fds_ex = lttng_tp_mempool_alloc( \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (!tp_locvar->fds_ex) \ + goto error; \ + \ + err = lib_ring_buffer_copy_from_user_check_nofault( \ + tp_locvar->fds_ex, exp, \ + tp_locvar->nr_ulong * sizeof(unsigned long)); \ + if (err != 0) \ + goto error; \ + } \ + goto end; \ + \ +error: \ + tp_locvar->nr_bytes = 0; \ + tp_locvar->nr_ulong = 0; \ +end: ; /* Label at end of compound statement. */ \ + } \ + ) + +#define LTTNG_SYSCALL_SELECT_fds_field_LE(name, input) \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 10) \ + ), \ + _ ## name ## _length, \ + ctf_custom_code( \ + if (input) { \ + ctf_integer_type(uint8_t, tp_locvar->nr_bytes) \ + ctf_align(uint8_t) \ + } else { \ + ctf_integer_type(uint8_t, 0) \ + ctf_align(uint8_t) \ + } \ + ) \ + ) \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_sequence(NULL, \ + lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16), \ + 0, \ + none) \ + ), \ + name, \ + ctf_custom_code( \ + unsigned int src; \ + unsigned int nr_bytes_out = 0; \ + \ + if (!input) \ + goto skip_##name; \ + \ + for (src = 0; src < tp_locvar->nr_ulong; src++) { \ + int dst; \ + for (dst = 0; dst < sizeof(long); dst++) { \ + if (nr_bytes_out++ >= tp_locvar->nr_bytes) { \ + goto skip_##name; \ + } \ + ctf_user_integer_type(uint8_t, \ + ((uint8_t __user *) (input->fds_bits + src))[dst]); \ + } \ + } \ + skip_##name: ; \ + ) \ + ) + +#define LTTNG_SYSCALL_SELECT_fds_field_BE(name, input) \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 10) \ + ), \ + _ ## name ## _length, \ + ctf_custom_code( \ + if (input) { \ + ctf_integer_type(uint8_t, tp_locvar->nr_bytes) \ + ctf_align(uint8_t) \ + } else { \ + ctf_integer_type(uint8_t, 0) \ + ctf_align(uint8_t) \ + } \ + ) \ + ) \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_sequence(NULL, \ + lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16), \ + 0, \ + none) \ + ), \ + name, \ + ctf_custom_code( \ + unsigned int src, nr_bytes_out = 0; \ + \ + if (!input) \ + goto skip_##name; \ + \ + for (src = 0; src < tp_locvar->nr_ulong; src++) { \ + int dst; \ + for (dst = sizeof(long); dst >= 0; dst--) { \ + if (nr_bytes_out++ >= tp_locvar->nr_bytes) { \ + goto skip_##name; \ + } \ + ctf_user_integer_type(uint8_t, \ + ((uint8_t __user *) (input->fds_bits + src))[dst]); \ + } \ + } \ + skip_##name: ; \ + ) \ + ) + +#define LTTNG_SYSCALL_SELECT_code_post \ + lttng_tp_mempool_free(tp_locvar->fds_in); \ + lttng_tp_mempool_free(tp_locvar->fds_out); \ + lttng_tp_mempool_free(tp_locvar->fds_ex); + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) +#define OVERRIDE_32_select +#define OVERRIDE_64_select +SC_LTTNG_TRACEPOINT_EVENT_CODE(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set __user *inp, fd_set __user *outp, + fd_set __user *exp, struct timeval *tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_locvar( + LTTNG_SYSCALL_SELECT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_SELECT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, n, n)) + sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + sc_inout(ctf_integer(struct timeval *, tvp, tvp)) + + sc_inout( +#if (__BYTE_ORDER == __LITTLE_ENDIAN) + LTTNG_SYSCALL_SELECT_fds_field_LE(readfds, inp) + LTTNG_SYSCALL_SELECT_fds_field_LE(writefds, outp) + LTTNG_SYSCALL_SELECT_fds_field_LE(exceptfds, exp) +#else + LTTNG_SYSCALL_SELECT_fds_field_BE(readfds, inp) + LTTNG_SYSCALL_SELECT_fds_field_BE(writefds, outp) + LTTNG_SYSCALL_SELECT_fds_field_BE(exceptfds, exp) +#endif + ) + ), + TP_code_post( + LTTNG_SYSCALL_SELECT_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) +#define OVERRIDE_32_pselect6 +#define OVERRIDE_64_pselect6 +SC_LTTNG_TRACEPOINT_EVENT_CODE(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set __user * inp, fd_set __user * outp, + fd_set __user * exp, struct timeval __user * tvp, void __user * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp, sig), + TP_locvar( + LTTNG_SYSCALL_SELECT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_SELECT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, n, n)) + sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + sc_inout(ctf_integer(struct timeval *, tvp, tvp)) + sc_in(ctf_integer_hex(void *, sig, sig)) + + sc_inout( +#if (__BYTE_ORDER == __LITTLE_ENDIAN) + LTTNG_SYSCALL_SELECT_fds_field_LE(readfds, inp) + LTTNG_SYSCALL_SELECT_fds_field_LE(writefds, outp) + LTTNG_SYSCALL_SELECT_fds_field_LE(exceptfds, exp) +#else + LTTNG_SYSCALL_SELECT_fds_field_BE(readfds, inp) + LTTNG_SYSCALL_SELECT_fds_field_BE(writefds, outp) + LTTNG_SYSCALL_SELECT_fds_field_BE(exceptfds, exp) +#endif + ) + ), + TP_code_post( + LTTNG_SYSCALL_SELECT_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ + +#ifdef LTTNG_CREATE_FIELD_METADATA +#ifndef ONCE_LTTNG_TRACE_POLL_H +#define ONCE_LTTNG_TRACE_POLL_H + +#define LTTNG_POLL_NRFLAGS (POLLNVAL + 1) +#define POLL_FLAGS_PADDING_SIZE (sizeof(uint8_t) * BITS_PER_BYTE) - \ + ilog2(LTTNG_POLL_NRFLAGS - 1) + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +/* + * Only extract the values specified by iBCS2 for now. + */ +static const struct lttng_kernel_event_field *lttng_pollfd_flag_fields[] = { + [ilog2(POLLIN)] = lttng_kernel_static_event_field("POLLIN", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(POLLPRI)] = lttng_kernel_static_event_field("POLLPRI", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(POLLOUT)] = lttng_kernel_static_event_field("POLLOUT", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(POLLERR)] = lttng_kernel_static_event_field("POLLERR", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(POLLHUP)] = lttng_kernel_static_event_field("POLLHUP", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(POLLNVAL)] = lttng_kernel_static_event_field("POLLNVAL", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(LTTNG_POLL_NRFLAGS)] = lttng_kernel_static_event_field("padding", + lttng_kernel_static_type_integer(POLL_FLAGS_PADDING_SIZE, 1, 0, __LITTLE_ENDIAN, 10), + false, false), +}; + +static_assert(((ARRAY_SIZE(lttng_pollfd_flag_fields) - 1) + POLL_FLAGS_PADDING_SIZE) == sizeof(uint8_t) * BITS_PER_BYTE); + +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_pollfd_flag_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_pollfd_flag_fields), lttng_pollfd_flag_fields, 0))) + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +static const struct lttng_kernel_event_field *lttng_pollfd_fields[] = { + [0] = lttng_kernel_static_event_field("fd", lttng_kernel_static_type_integer_from_type(int, __BYTE_ORDER, 10), + false, false), + [1] = lttng_kernel_static_event_field("raw_events", lttng_kernel_static_type_integer_from_type(uint16_t, __BYTE_ORDER, 16), + false, false), + [2] = lttng_kernel_static_event_field("events", + (const struct lttng_kernel_type_common *) <tng_pollfd_flag_fields_struct, + false, false), +}; +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_pollfd_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_pollfd_fields), lttng_pollfd_fields, 0))) + +#endif /* ONCE_LTTNG_TRACE_POLL_H */ +#endif /* LTTNG_CREATE_FIELD_METADATA */ + +#define LTTNG_SYSCALL_POLL_locvar \ + unsigned int fds_length, fds_max_len, alloc_fds; \ + struct pollfd *fds; \ + uint8_t overflow; + +#define LTTNG_SYSCALL_POLL_code_pre \ + tp_locvar->fds = NULL; \ + tp_locvar->overflow = 0; \ + \ + sc_in( \ + if (nfds > PAGE_SIZE / sizeof(struct pollfd)) { \ + tp_locvar->fds_length = PAGE_SIZE / sizeof(struct pollfd); \ + tp_locvar->fds_max_len = PAGE_SIZE / sizeof(struct pollfd); \ + tp_locvar->overflow = 1; \ + } else { \ + tp_locvar->fds_length = nfds; \ + tp_locvar->fds_max_len = nfds; \ + } \ + tp_locvar->alloc_fds = tp_locvar->fds_length * sizeof(struct pollfd); \ + ) \ + /* \ + * On exit, the number of active FDs is determined by ret, \ + * nfds stays the same as the entry, but we only want to \ + * output the FDs that are relevant. \ + */ \ + sc_out( \ + if (ret <= 0 || ret > nfds) \ + goto error; \ + \ + if (nfds > PAGE_SIZE / sizeof(struct pollfd)) { \ + tp_locvar->fds_length = PAGE_SIZE / sizeof(struct pollfd); \ + tp_locvar->fds_max_len = PAGE_SIZE / sizeof(struct pollfd); \ + tp_locvar->overflow = 1; \ + } else { \ + tp_locvar->fds_length = ret; \ + tp_locvar->fds_max_len = nfds; \ + } \ + tp_locvar->alloc_fds = tp_locvar->fds_max_len * sizeof(struct pollfd); \ + ) \ + { \ + int err; \ + \ + tp_locvar->fds = lttng_tp_mempool_alloc(tp_locvar->alloc_fds); \ + if (!tp_locvar->fds) \ + goto error; \ + err = lib_ring_buffer_copy_from_user_check_nofault( \ + tp_locvar->fds, ufds, tp_locvar->alloc_fds); \ + if (err != 0) \ + goto error; \ + } \ + goto end; \ + \ +error: \ + tp_locvar->fds_length = 0; \ + tp_locvar->fds_max_len = 0; \ +end: \ + ; + +#define LTTNG_SYSCALL_POLL_fds_field \ + sc_in( \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_sequence("fds_length", \ + (const struct lttng_kernel_type_common *) <tng_pollfd_fields_struct, \ + 0, \ + none) \ + ), \ + fds, \ + ctf_custom_code( \ + uint32_t i; \ + \ + ctf_align(int) /* Align on largest field in struct. */ \ + for (i = 0; i < tp_locvar->fds_length; i++) { \ + ctf_integer_type(int, tp_locvar->fds[i].fd) \ + ctf_integer_type(short, tp_locvar->fds[i].events) \ + ctf_integer_bitfield_type(uint8_t, \ + (uint8_t) tp_locvar->fds[i].events) \ + } \ + ) \ + ) \ + ) \ + sc_out( \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_sequence("fds_length", \ + (const struct lttng_kernel_type_common *) <tng_pollfd_fields_struct, \ + 0, \ + none) \ + ), \ + fds, \ + ctf_custom_code( \ + unsigned int i, nr = 0; \ + \ + ctf_align(int) /* Align on largest field in struct. */ \ + /* \ + * Iterate over the complete array, but only output \ + * "ret" active FDs. \ + */ \ + for (i = 0; i < tp_locvar->fds_max_len; i++) { \ + if (!tp_locvar->fds[i].revents) \ + continue; \ + if (nr++ >= tp_locvar->fds_length) \ + break; \ + ctf_integer_type(int, tp_locvar->fds[i].fd) \ + ctf_integer_type(short, tp_locvar->fds[i].revents) \ + ctf_integer_bitfield_type(uint8_t, \ + (uint8_t) tp_locvar->fds[i].revents) \ + } \ + /* \ + * If there is a discrepancy between ret and the \ + * content of revents (e.g. caused by userspace corrupting \ + * the array from a concurrent thread), we have to output \ + * zeros to keep the trace readable. \ + */ \ + for (i = nr; i < tp_locvar->fds_length; i++) { \ + ctf_integer_type(int, 0) \ + ctf_integer_type(short, 0) \ + ctf_integer_bitfield_type(uint8_t, 0) \ + } \ + ) \ + ) \ + ) + +#define LTTNG_SYSCALL_POLL_code_post \ + lttng_tp_mempool_free(tp_locvar->fds); + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) +#define OVERRIDE_32_poll +#define OVERRIDE_64_poll +SC_LTTNG_TRACEPOINT_EVENT_CODE(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd __user * ufds, + unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_locvar( + LTTNG_SYSCALL_POLL_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_POLL_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, timeout_msecs, timeout_msecs)) + sc_inout(ctf_integer(unsigned int, nfds, nfds)) + sc_inout(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) + sc_in(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + LTTNG_SYSCALL_POLL_fds_field + ), + TP_code_post( + LTTNG_SYSCALL_POLL_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) +#define OVERRIDE_32_ppoll +#define OVERRIDE_64_ppoll +SC_LTTNG_TRACEPOINT_EVENT_CODE(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd __user * 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_locvar( + LTTNG_SYSCALL_POLL_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_POLL_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + 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)) + sc_inout(ctf_integer(unsigned int, nfds, nfds)) + sc_inout(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) + sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + LTTNG_SYSCALL_POLL_fds_field + ), + TP_code_post( + LTTNG_SYSCALL_POLL_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ + +#include + +SC_LTTNG_TRACEPOINT_ENUM(lttng_epoll_op, + TP_ENUM_VALUES( + ctf_enum_value("EPOLL_CTL_ADD", EPOLL_CTL_ADD) + ctf_enum_value("EPOLL_CTL_DEL", EPOLL_CTL_DEL) + ctf_enum_value("EPOLL_CTL_MOD", EPOLL_CTL_MOD) + ) +) + +#ifdef LTTNG_CREATE_FIELD_METADATA + +#ifndef ONCE_LTTNG_TRACE_EPOLL_CTL_H +#define ONCE_LTTNG_TRACE_EPOLL_CTL_H + +#define LTTNG_EPOLL_NRFLAGS (POLLHUP + 1) +#define EPOLL_FLAGS_PADDING_SIZE (sizeof(uint8_t) * BITS_PER_BYTE) - \ + ilog2(LTTNG_EPOLL_NRFLAGS - 1) + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +/* + * Only extract the values specified by iBCS2 for now. + */ +static const struct lttng_kernel_event_field *lttng_epoll_ctl_events_fields[] = { + /* 0x0001 */ + [ilog2(POLLIN)] = lttng_kernel_static_event_field("EPOLLIN", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + /* 0x0002 */ + [ilog2(POLLPRI)] = lttng_kernel_static_event_field("EPOLLPRI", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + /* 0x0004 */ + [ilog2(POLLOUT)] = lttng_kernel_static_event_field("EPOLLOUT", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + /* 0x0008 */ + [ilog2(POLLERR)] = lttng_kernel_static_event_field("EPOLLERR", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + /* 0x0010 */ + [ilog2(POLLHUP)] = lttng_kernel_static_event_field("EPOLLHUP", + lttng_kernel_static_type_integer(1, 1, 0, __LITTLE_ENDIAN, 10), + false, false), + [ilog2(LTTNG_EPOLL_NRFLAGS)] = lttng_kernel_static_event_field("padding", + lttng_kernel_static_type_integer(EPOLL_FLAGS_PADDING_SIZE, 1, 0, __LITTLE_ENDIAN, 10), + false, false), +}; +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_ctl_events_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_ctl_events_fields), lttng_epoll_ctl_events_fields, 0))) + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +static const struct lttng_kernel_event_field *lttng_epoll_data_fields[] = { + [0] = lttng_kernel_static_event_field("u64", + lttng_kernel_static_type_integer_from_type(uint64_t, __BYTE_ORDER, 16), + false, false), + [1] = lttng_kernel_static_event_field("fd", + lttng_kernel_static_type_integer_from_type(int, __BYTE_ORDER, 10), + false, false), +}; +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_data_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_data_fields), lttng_epoll_data_fields, 0))) + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +static const struct lttng_kernel_event_field *epoll_ctl_fields[] = { + [0] = lttng_kernel_static_event_field("data_union", + (const struct lttng_kernel_type_common *) <tng_epoll_data_fields_struct, + false, false), + [1] = lttng_kernel_static_event_field("raw_events", + lttng_kernel_static_type_integer_from_type(uint32_t, __BYTE_ORDER, 16), + false, false), + [2] = lttng_kernel_static_event_field("events", + (const struct lttng_kernel_type_common *) <tng_epoll_ctl_events_fields_struct, + false, false), +}; +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct epoll_ctl_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(epoll_ctl_fields), epoll_ctl_fields, 0))) + +#endif /* ONCE_LTTNG_TRACE_EPOLL_CTL_H */ +#endif /* LTTNG_CREATE_FIELD_METADATA */ + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) +#define OVERRIDE_32_epoll_ctl +#define OVERRIDE_64_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, + struct epoll_event __user * uevent), + TP_ARGS(sc_exit(ret,) epfd, op, fd, uevent), + TP_locvar( + struct epoll_event event; + int err; + ), + TP_code_pre( + tp_locvar->err = lib_ring_buffer_copy_from_user_check_nofault( + &tp_locvar->event, uevent, sizeof(struct epoll_event)); + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, epfd, epfd)) + sc_in(ctf_enum(lttng_epoll_op, int, op_enum, op)) + sc_in(ctf_integer(int, fd, fd)) + sc_in( + ctf_custom_field( + ctf_custom_type( + (const struct lttng_kernel_type_common *) &epoll_ctl_fields_struct + ), + event, + ctf_custom_code( + ctf_align(uint64_t) + if (!tp_locvar->err) { + ctf_integer_type(uint64_t, tp_locvar->event.data) + ctf_integer_type(int, tp_locvar->event.data) + ctf_integer_bitfield_type(uint32_t, + tp_locvar->event.events) + ctf_integer_bitfield_type(uint8_t, + (uint8_t) tp_locvar->event.events) + } else { + ctf_integer_type(uint64_t, 0) + ctf_integer_type(int, 0) + ctf_integer_bitfield_type(uint32_t, 0) + ctf_integer_bitfield_type(uint8_t, 0) + } + ) + ) + ) + ), + TP_code_post() +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ + +#ifdef LTTNG_CREATE_FIELD_METADATA +#ifndef ONCE_LTTNG_TRACE_EPOLL_H +#define ONCE_LTTNG_TRACE_EPOLL_H + +#ifndef LTTNG_TRACEPOINT_TYPE_EXTERN +static const struct lttng_kernel_event_field *lttng_epoll_wait_fields[] = lttng_kernel_static_event_field_array( + [0] = lttng_kernel_static_event_field("data_union", + (const struct lttng_kernel_type_common *) <tng_epoll_data_fields_struct, + false, false), + [1] = lttng_kernel_static_event_field("raw_events", lttng_kernel_static_type_integer_from_type(uint32_t, __BYTE_ORDER, 16), + false, false), + [2] = lttng_kernel_static_event_field("events", + (const struct lttng_kernel_type_common *) <tng_epoll_ctl_events_fields_struct, + false, false), +); + +static_assert(((ARRAY_SIZE(lttng_epoll_ctl_events_fields) - 1) + EPOLL_FLAGS_PADDING_SIZE) == sizeof(uint8_t) * BITS_PER_BYTE); + +#endif /* LTTNG_TRACEPOINT_TYPE_EXTERN */ + +LTTNG_TRACEPOINT_TYPE(PARAMS(const struct lttng_kernel_type_struct lttng_epoll_wait_fields_struct), + PARAMS(lttng_kernel_static_type_struct_init(ARRAY_SIZE(lttng_epoll_wait_fields), lttng_epoll_wait_fields, 0))) + +#endif /* ONCE_LTTNG_TRACE_EPOLL_H */ +#endif /* LTTNG_CREATE_FIELD_METADATA */ + +#define LTTNG_SYSCALL_EPOLL_WAIT_locvar \ + sc_out( \ + unsigned int fds_length; \ + uint8_t overflow; \ + struct epoll_event *events; \ + ) + +#define LTTNG_SYSCALL_EPOLL_WAIT_code_pre \ + sc_out({ \ + int err; \ + unsigned long maxalloc; \ + \ + tp_locvar->fds_length = 0; \ + tp_locvar->events = NULL; \ + tp_locvar->overflow = 0; \ + \ + if (maxevents <= 0 || ret <= 0 || ret > maxevents) \ + goto skip_code; \ + \ + if (maxevents > PAGE_SIZE / sizeof(struct epoll_event)) { \ + maxalloc = PAGE_SIZE / sizeof(struct epoll_event); \ + } else { \ + maxalloc = maxevents; \ + } \ + \ + if (ret > maxalloc) { \ + tp_locvar->fds_length = maxalloc; \ + tp_locvar->overflow = 1; \ + } else { \ + tp_locvar->fds_length = ret; \ + } \ + \ + tp_locvar->events = lttng_tp_mempool_alloc( \ + maxalloc * sizeof(struct epoll_event)); \ + if (!tp_locvar->events) { \ + tp_locvar->fds_length = 0; \ + goto skip_code; \ + } \ + \ + err = lib_ring_buffer_copy_from_user_check_nofault( \ + tp_locvar->events, uevents, \ + maxalloc * sizeof(struct epoll_event)); \ + if (err != 0) \ + tp_locvar->fds_length = 0; \ + } \ + skip_code: \ + ) + +#define LTTNG_SYSCALL_EPOLL_WAIT_fds_field \ + ctf_custom_field( \ + ctf_custom_type( \ + lttng_kernel_static_type_sequence("fds_length", \ + (const struct lttng_kernel_type_common *) <tng_epoll_wait_fields_struct, \ + 0, \ + none) \ + ), \ + fds, \ + ctf_custom_code( \ + uint32_t i; \ + \ + ctf_align(uint64_t) \ + for (i = 0; i < tp_locvar->fds_length; i++) { \ + ctf_integer_type(uint64_t, tp_locvar->events[i].data) \ + ctf_integer_type(int, tp_locvar->events[i].data) \ + ctf_integer_bitfield_type(uint32_t, \ + tp_locvar->events[i].events) \ + ctf_integer_bitfield_type(uint8_t, \ + (uint8_t) tp_locvar->events[i].events) \ + } \ + ) \ + ) + +#define LTTNG_SYSCALL_EPOLL_WAIT_code_post \ + sc_out( \ + lttng_tp_mempool_free(tp_locvar->events); \ + ) + + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) +#define OVERRIDE_32_epoll_wait +#define OVERRIDE_64_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event __user * uevents, + int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, uevents, maxevents, timeout), + TP_locvar( + LTTNG_SYSCALL_EPOLL_WAIT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_EPOLL_WAIT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, epfd, epfd)) + sc_in(ctf_integer(int, maxevents, maxevents)) + sc_in(ctf_integer(int, timeout, timeout)) + sc_out(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) + sc_out(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + sc_out( + LTTNG_SYSCALL_EPOLL_WAIT_fds_field + ) + ), + TP_code_post( + LTTNG_SYSCALL_EPOLL_WAIT_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */ + +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) +#define OVERRIDE_32_epoll_pwait +#define OVERRIDE_64_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event __user * uevents, + int maxevents, int timeout, const sigset_t __user * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, uevents, maxevents, timeout, sigmask, sigsetsize), + TP_locvar( + LTTNG_SYSCALL_EPOLL_WAIT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_EPOLL_WAIT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, epfd, epfd)) + sc_in(ctf_integer(int, maxevents, maxevents)) + sc_in(ctf_integer(int, timeout, timeout)) + sc_in(ctf_integer_hex(const sigset_t *, sigmask, sigmask)) + sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)) + sc_out(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length)) + sc_out(ctf_integer(uint8_t, overflow, tp_locvar->overflow)) + sc_out( + LTTNG_SYSCALL_EPOLL_WAIT_fds_field + ) + ), + TP_code_post( + LTTNG_SYSCALL_EPOLL_WAIT_code_post + ) +) +#endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ + +#if (defined(CONFIG_X86_64) && !defined(LTTNG_SC_COMPAT)) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) +#define OVERRIDE_32_socketpair +#define 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_user_array(int, socket, usockvec, 2)) + ) +) +#endif /* (defined(CONFIG_X86_64) && !defined(LTTNG_SC_COMPAT)) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */ + +#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM +/* + * Enumeration of the open flags, as described in the 'open' + * system call man page. + */ +SC_LTTNG_TRACEPOINT_ENUM(lttng_file_status_flags, + TP_ENUM_VALUES( + ctf_enum_value("O_RDONLY", O_RDONLY) + ctf_enum_value("O_WRONLY", O_WRONLY) + ctf_enum_value("O_RDWR", O_RDWR) + ctf_enum_value("O_CREAT", O_CREAT) + ctf_enum_value("O_EXCL", O_EXCL) + ctf_enum_value("O_NOCTTY", O_NOCTTY) + ctf_enum_value("O_TRUNC", O_TRUNC) + ctf_enum_value("O_APPEND", O_APPEND) + ctf_enum_value("O_NONBLOCK", O_NONBLOCK) + ctf_enum_value("O_DSYNC", O_DSYNC) + ctf_enum_value("FASYNC", FASYNC) + ctf_enum_value("O_DIRECT", O_DIRECT) + ctf_enum_value("O_LARGEFILE", O_LARGEFILE) + ctf_enum_value("O_DIRECTORY", O_DIRECTORY) + ctf_enum_value("O_NOFOLLOW", O_NOFOLLOW) + ctf_enum_value("O_NOATIME", O_NOATIME) + ctf_enum_value("O_CLOEXEC", O_CLOEXEC) + ctf_enum_value("O_SYNC", __O_SYNC) + ctf_enum_value("O_PATH", O_PATH) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,11,0)) + ctf_enum_value("O_TMPFILE", __O_TMPFILE) +#endif /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,11,0)) */ + ) +) + +/* + * Enumeration of the open flags, as described in the 'open' + * system call man page. + */ +SC_LTTNG_TRACEPOINT_ENUM(lttng_file_mode, + TP_ENUM_VALUES( + ctf_enum_value("S_IRWXU", S_IRWXU) + ctf_enum_value("S_IRUSR", S_IRUSR) + ctf_enum_value("S_IWUSR", S_IWUSR) + ctf_enum_value("S_IXUSR", S_IXUSR) + ctf_enum_value("S_IRWXG", S_IRWXG) + ctf_enum_value("S_IRGRP", S_IRGRP) + ctf_enum_value("S_IWGRP", S_IWGRP) + ctf_enum_value("S_IXGRP", S_IXGRP) + ctf_enum_value("S_IRWXO", S_IRWXO) + ctf_enum_value("S_IROTH", S_IROTH) + ctf_enum_value("S_IWOTH", S_IWOTH) + ctf_enum_value("S_IXOTH", S_IXOTH) + ctf_enum_value("S_ISUID", S_ISUID) + ctf_enum_value("S_ISGID", S_ISGID) + ctf_enum_value("S_ISVTX", S_ISVTX) + ) +) + +#define OVERRIDE_32_openat +#define 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_enum(lttng_file_status_flags, int, flags, flags)) + sc_in(ctf_enum(lttng_file_mode, umode_t, mode, mode)) + ) +) + +#define OVERRIDE_32_open +#define 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_enum(lttng_file_status_flags, int, flags, flags)) + sc_in(ctf_enum(lttng_file_mode, umode_t, mode, mode)) + ) +) +#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */ + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/syscalls_unknown.h b/include/instrumentation/syscalls/syscalls_unknown.h new file mode 100644 index 00000000..8645d714 --- /dev/null +++ b/include/instrumentation/syscalls/syscalls_unknown.h @@ -0,0 +1,60 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_UNKNOWN_H + +#include +#include + +#define UNKNOWN_SYSCALL_NRARGS 6 + +#undef TP_PROBE_CB +#define TP_PROBE_CB(_template) &syscall_entry_event_probe + +#undef TP_EVENT_NOTIFIER_PROBE_CB +#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_entry_event_notifier_probe + +LTTNG_TRACEPOINT_EVENT(syscall_entry_unknown, + TP_PROTO(int id, unsigned long *args), + TP_ARGS(id, args), + TP_FIELDS( + ctf_integer(int, id, id) + ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) + ) +) +LTTNG_TRACEPOINT_EVENT(compat_syscall_entry_unknown, + TP_PROTO(int id, unsigned long *args), + TP_ARGS(id, args), + TP_FIELDS( + ctf_integer(int, id, id) + ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) + ) +) + +#undef TP_PROBE_CB +#define TP_PROBE_CB(_template) &syscall_exit_event_probe +#undef TP_EVENT_NOTIFIER_PROBE_CB +#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_exit_event_notifier_probe + +LTTNG_TRACEPOINT_EVENT(syscall_exit_unknown, + TP_PROTO(int id, long ret, unsigned long *args), + TP_ARGS(id, ret, args), + TP_FIELDS( + ctf_integer(int, id, id) + ctf_integer(long, ret, ret) + ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) + ) +) +LTTNG_TRACEPOINT_EVENT(compat_syscall_exit_unknown, + TP_PROTO(int id, long ret, unsigned long *args), + TP_ARGS(id, ret, args), + TP_FIELDS( + ctf_integer(int, id, id) + ctf_integer(long, ret, ret) + ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) + ) +) +#endif /* _TRACE_SYSCALLS_UNKNOWN_H */ + +/* This part must be outside protection */ +#include diff --git a/include/instrumentation/syscalls/table-syscall-inout-x86-32-override.txt b/include/instrumentation/syscalls/table-syscall-inout-x86-32-override.txt deleted file mode 100644 index 4ddb5974..00000000 --- a/include/instrumentation/syscalls/table-syscall-inout-x86-32-override.txt +++ /dev/null @@ -1 +0,0 @@ -syscall fanotify_mark nbargs 6 rw: (r, r, r, r, r, r) diff --git a/include/instrumentation/syscalls/table-syscall-inout.txt b/include/instrumentation/syscalls/table-syscall-inout.txt deleted file mode 100644 index 89759a3c..00000000 --- a/include/instrumentation/syscalls/table-syscall-inout.txt +++ /dev/null @@ -1,317 +0,0 @@ -syscall read nbargs 3 rw: (r, w, r) -syscall write nbargs 3 rw: (r, r, r) -syscall open nbargs 3 rw: (r, r, r) -syscall close nbargs 1 rw: (r) -syscall newstat nbargs 2 rw: (r, w) -syscall newfstat nbargs 2 rw: (r, w) -syscall newlstat nbargs 2 rw: (r, w) -syscall poll nbargs 3 rw: (rw, r, r) -syscall lseek nbargs 3 rw: (r, r, r) -syscall mmap nbargs 6 rw: (r, r, r, r, r, r) -syscall mprotect nbargs 3 rw: (r, r, r) -syscall munmap nbargs 2 rw: (r, r) -syscall brk nbargs 1 rw: (r) -syscall rt_sigaction nbargs 4 rw: (r, r, w, r) -syscall rt_sigprocmask nbargs 4 rw: (r, r, w, r) -syscall ioctl nbargs 3 rw: (r, r, rw) -syscall pread64 nbargs 4 rw: (r, w, r, r) -syscall pwrite64 nbargs 4 rw: (r, r, r, r) -syscall readv nbargs 3 rw: (r, rw, r) -syscall writev nbargs 3 rw: (r, rw, r) -syscall access nbargs 2 rw: (r, r) -syscall pipe nbargs 1 rw: (w) -syscall select nbargs 5 rw: (r, rw, rw, rw, rw) -syscall sched_yield nbargs 0 -syscall mremap nbargs 5 rw: (r, r, r, r, r) -syscall msync nbargs 3 rw: (r, r, r) -syscall mincore nbargs 3 rw: (r, r, w) -syscall madvise nbargs 3 rw: (r, r, r) -syscall shmget nbargs 3 rw: (r, r, r) -syscall shmat nbargs 3 rw: (r, r, r) -syscall shmctl nbargs 3 rw: (r, r, rw) -syscall dup nbargs 1 rw: (r) -syscall dup2 nbargs 2 rw: (r, r) -syscall pause nbargs 0 -syscall nanosleep nbargs 2 rw: (r, w) -syscall nanosleep_time32 nbargs 2 rw: (r, w) -syscall getitimer nbargs 2 rw: (r, w) -syscall alarm nbargs 1 rw: (r) -syscall setitimer nbargs 3 rw: (r, r, w) -syscall getpid nbargs 0 -syscall sendfile64 nbargs 4 rw: (r, r, rw, r) -syscall socket nbargs 3 rw: (r, r, r) -syscall connect nbargs 3 rw: (r, r, r) -syscall accept nbargs 3 rw: (r, w, rw) -syscall sendto nbargs 6 rw: (r, r, r, r, r, r) -syscall recvfrom nbargs 6 rw: (r, w, r, r, w, rw) -syscall sendmsg nbargs 3 rw: (r, r, r) -syscall recvmsg nbargs 3 rw: (r, rw, r) -syscall shutdown nbargs 2 rw: (r, r) -syscall bind nbargs 3 rw: (r, r, r) -syscall listen nbargs 2 rw: (r, r) -syscall getsockname nbargs 3 rw: (r, w, rw) -syscall getpeername nbargs 3 rw: (r, w, rw) -syscall socketpair nbargs 4 rw: (r, r, r, w) -syscall setsockopt nbargs 5 rw: (r, r, r, r, r) -syscall getsockopt nbargs 5 rw: (r, r, r, w, rw) -syscall exit nbargs 1 rw: (r) -syscall wait4 nbargs 4 rw: (r, w, r, w) -syscall kill nbargs 2 rw: (r, r) -syscall newuname nbargs 1 rw: (w) -syscall semget nbargs 3 rw: (r, r, r) -syscall semop nbargs 3 rw: (r, r, r) -syscall semctl nbargs 4 rw: (r, r, r, rw) -syscall shmdt nbargs 1 rw: (r) -syscall msgget nbargs 2 rw: (r, r) -syscall msgsnd nbargs 4 rw: (r, r, r, r) -syscall msgrcv nbargs 5 rw: (r, w, r, r, r) -syscall msgctl nbargs 3 rw: (r, r, rw) -syscall fcntl nbargs 3 rw: (r, r, rw) -syscall flock nbargs 2 rw: (r, r) -syscall fsync nbargs 1 rw: (r) -syscall fdatasync nbargs 1 rw: (r) -syscall truncate nbargs 2 rw: (r, r) -syscall truncate64 nbargs 2 rw: (r, r) -syscall ftruncate nbargs 2 rw: (r, r) -syscall ftruncate64 nbargs 2 rw: (r, r) -syscall getdents nbargs 3 rw: (r, w, r) -syscall getcwd nbargs 2 rw: (w, r) -syscall chdir nbargs 1 rw: (r) -syscall fchdir nbargs 1 rw: (r) -syscall rename nbargs 2 rw: (r, r) -syscall mkdir nbargs 2 rw: (r, r) -syscall rmdir nbargs 1 rw: (r) -syscall creat nbargs 2 rw: (r, r) -syscall link nbargs 2 rw: (r, r) -syscall unlink nbargs 1 rw: (r) -syscall symlink nbargs 2 rw: (r, r) -syscall readlink nbargs 3 rw: (r, w, r) -syscall chmod nbargs 2 rw: (r, r) -syscall fchmod nbargs 2 rw: (r, r) -syscall chown nbargs 3 rw: (r, r, r) -syscall fchown nbargs 3 rw: (r, r, r) -syscall lchown nbargs 3 rw: (r, r, r) -syscall umask nbargs 1 rw: (r) -syscall gettimeofday nbargs 2 rw: (w, w) -syscall getrlimit nbargs 2 rw: (r, w) -syscall getrusage nbargs 2 rw: (r, w) -syscall sysinfo nbargs 1 rw: (w) -syscall times nbargs 1 rw: (w) -syscall ptrace nbargs 4 rw: (r, r, rw, rw) -syscall getuid nbargs 0 -syscall syslog nbargs 3 rw: (r, w, r) -syscall getgid nbargs 0 -syscall setuid nbargs 1 rw: (r) -syscall setgid nbargs 1 rw: (r) -syscall geteuid nbargs 0 -syscall getegid nbargs 0 -syscall setpgid nbargs 2 rw: (r, r) -syscall getppid nbargs 0 -syscall getpgrp nbargs 0 -syscall setsid nbargs 0 -syscall setreuid nbargs 2 rw: (r, r) -syscall setregid nbargs 2 rw: (r, r) -syscall getgroups nbargs 2 rw: (r, w) -syscall setgroups nbargs 2 rw: (r, r) -syscall setresuid nbargs 3 rw: (r, r, r) -syscall getresuid nbargs 3 rw: (w, w, w) -syscall setresgid nbargs 3 rw: (r, r, r) -syscall getresgid nbargs 3 rw: (w, w, w) -syscall getpgid nbargs 1 rw: (r) -syscall setfsuid nbargs 1 rw: (r) -syscall setfsgid nbargs 1 rw: (r) -syscall getsid nbargs 1 rw: (r) -syscall capget nbargs 2 rw: (r, w) -syscall capset nbargs 2 rw: (r, r) -syscall rt_sigpending nbargs 2 rw: (w, r) -syscall rt_sigtimedwait nbargs 4 rw: (w, w, r, r) -syscall rt_sigtimedwait_time32 nbargs 4 rw: (w, w, r, r) -syscall rt_sigqueueinfo nbargs 3 rw: (r, r, r) -syscall rt_sigsuspend nbargs 2 rw: (r, r) -syscall sigaltstack nbargs 2 rw: (r, rw) -syscall utime nbargs 2 rw: (r, r) -syscall utime32 nbargs 2 rw: (r, r) -syscall mknod nbargs 3 rw: (r, r, r) -syscall personality nbargs 1 rw: (r) -syscall ustat nbargs 2 rw: (r, w) -syscall statfs nbargs 2 rw: (r, w) -syscall fstatfs nbargs 2 rw: (r, w) -syscall sysfs nbargs 3 rw: (r, r, r) -syscall getpriority nbargs 2 rw: (r, r) -syscall setpriority nbargs 3 rw: (r, r, r) -syscall sched_setparam nbargs 2 rw: (r, r) -syscall sched_getparam nbargs 2 rw: (r, w) -syscall sched_setscheduler nbargs 3 rw: (r, r, r) -syscall sched_getscheduler nbargs 1 rw: (r) -syscall sched_get_priority_max nbargs 1 rw: (r) -syscall sched_get_priority_min nbargs 1 rw: (r) -syscall sched_rr_get_interval nbargs 2 rw: (r, w) -syscall sched_rr_get_interval_time32 nbargs 2 rw: (r, w) -syscall mlock nbargs 2 rw: (r, r) -syscall munlock nbargs 2 rw: (r, r) -syscall mlockall nbargs 1 rw: (r) -syscall munlockall nbargs 0 -syscall vhangup nbargs 0 -syscall pivot_root nbargs 2 rw: (r, r) -syscall sysctl nbargs 1 rw: (rw) -syscall prctl nbargs 5 rw: (r, rw, r, r, r) -syscall adjtimex nbargs 1 rw: (rw) -syscall adjtimex_time32 nbargs 1 rw: (rw) -syscall setrlimit nbargs 2 rw: (r, r) -syscall chroot nbargs 1 rw: (r) -syscall sync nbargs 0 -syscall acct nbargs 1 rw: (r) -syscall settimeofday nbargs 2 rw: (r, r) -syscall mount nbargs 5 rw: (r, r, r, r, r) -syscall umount nbargs 2 rw: (r, r) -syscall swapon nbargs 2 rw: (r, r) -syscall swapoff nbargs 1 rw: (r) -syscall reboot nbargs 4 rw: (r, r, r, r) -syscall sethostname nbargs 2 rw: (r, r) -syscall setdomainname nbargs 2 rw: (r, r) -syscall init_module nbargs 3 rw: (r, r, r) -syscall delete_module nbargs 2 rw: (r, r) -syscall quotactl nbargs 4 rw: (r, r, r, rw) -syscall gettid nbargs 0 -syscall readahead nbargs 3 rw: (r, r, r) -syscall setxattr nbargs 5 rw: (r, r, r, r, r) -syscall lsetxattr nbargs 5 rw: (r, r, r, r, r) -syscall fsetxattr nbargs 5 rw: (r, r, r, r, r) -syscall getxattr nbargs 4 rw: (r, r, w, r) -syscall lgetxattr nbargs 4 rw: (r, r, w, r) -syscall fgetxattr nbargs 4 rw: (r, r, w, r) -syscall listxattr nbargs 3 rw: (r, w, r) -syscall llistxattr nbargs 3 rw: (r, w, r) -syscall flistxattr nbargs 3 rw: (r, w, r) -syscall removexattr nbargs 2 rw: (r, r) -syscall lremovexattr nbargs 2 rw: (r, r) -syscall fremovexattr nbargs 2 rw: (r, r) -syscall tkill nbargs 2 rw: (r, r) -syscall time nbargs 1 rw: (w) -syscall time32 nbargs 1 rw: (w) -syscall futex nbargs 6 rw: (rw, r, r, r, rw, r) -syscall futex_time32 nbargs 6 rw: (rw, r, r, r, rw, r) -syscall sched_setaffinity nbargs 3 rw: (r, r, r) -syscall sched_getaffinity nbargs 3 rw: (r, r, w) -syscall io_setup nbargs 2 rw: (r, r) -syscall io_destroy nbargs 1 rw: (r) -syscall io_getevents nbargs 5 rw: (r, r, r, w, rw) -syscall io_getevents_time32 nbargs 5 rw: (r, r, r, w, rw) -syscall io_submit nbargs 3 rw: (r, r, r) -syscall io_cancel nbargs 3 rw: (r, r, w) -syscall lookup_dcookie nbargs 3 rw: (r, w, r) -syscall epoll_create nbargs 1 rw: (r) -syscall remap_file_pages nbargs 5 rw: (r, r, r, r, r) -syscall getdents64 nbargs 3 rw: (r, w, r) -syscall set_tid_address nbargs 1 rw: (r) -syscall restart_syscall nbargs 0 -syscall semtimedop nbargs 4 rw: (r, r, r, rw) -syscall fadvise64 nbargs 4 rw: (r, r, r, r) -syscall fadvise64_64 nbargs 4 rw: (r, r, r, r) -syscall timer_create nbargs 3 rw: (r, r, w) -syscall timer_settime nbargs 4 rw: (r, r, r, w) -syscall timer_settime32 nbargs 4 rw: (r, r, r, w) -syscall timer_gettime nbargs 2 rw: (r, w) -syscall timer_gettime32 nbargs 2 rw: (r, w) -syscall timer_getoverrun nbargs 1 rw: (r) -syscall timer_delete nbargs 1 rw: (r) -syscall clock_settime nbargs 2 rw: (r, r) -syscall clock_settime32 nbargs 2 rw: (r, r) -syscall clock_gettime nbargs 2 rw: (r, w) -syscall clock_gettime32 nbargs 2 rw: (r, w) -syscall clock_getres nbargs 2 rw: (r, w) -syscall clock_getres_time32 nbargs 2 rw: (r, w) -syscall clock_nanosleep nbargs 4 rw: (r, r, r, w) -syscall clock_nanosleep_time32 nbargs 4 rw: (r, r, r, w) -syscall exit_group nbargs 1 rw: (r) -syscall epoll_wait nbargs 4 rw: (r, w, r, r) -syscall epoll_ctl nbargs 4 rw: (r, r, r, r) -syscall tgkill nbargs 3 rw: (r, r, r) -syscall utimes nbargs 2 rw: (r, r) -syscall utimes_time32 nbargs 2 rw: (r, r) -syscall mbind nbargs 6 rw: (r, r, r, r, r, r) -syscall set_mempolicy nbargs 3 rw: (r, r, r) -syscall get_mempolicy nbargs 5 rw: (w, w, r, r, r) -syscall mq_open nbargs 4 rw: (r, r, r, r) -syscall mq_unlink nbargs 1 rw: (r) -syscall mq_timedsend nbargs 5 rw: (r, r, r, r, r) -syscall mq_timedsend_time32 nbargs 5 rw: (r, r, r, r, r) -syscall mq_timedreceive nbargs 5 rw: (r, w, r, w, r) -syscall mq_timedreceive_time32 nbargs 5 rw: (r, w, r, w, r) -syscall mq_notify nbargs 2 rw: (r, r) -syscall mq_getsetattr nbargs 3 rw: (r, r, w) -syscall kexec_load nbargs 4 rw: (r, r, r, r) -syscall waitid nbargs 5 rw: (r, r, w, r, w) -syscall add_key nbargs 5 rw: (r, r, r, r, r) -syscall request_key nbargs 4 rw: (r, r, r, r) -syscall keyctl nbargs 5 rw: (r, rw, rw, rw, rw) -syscall ioprio_set nbargs 3 rw: (r, r, r) -syscall ioprio_get nbargs 2 rw: (r, r) -syscall inotify_init nbargs 0 -syscall inotify_add_watch nbargs 3 rw: (r, r, r) -syscall inotify_rm_watch nbargs 2 rw: (r, r) -syscall migrate_pages nbargs 4 rw: (r, r, r, r) -syscall openat nbargs 4 rw: (r, r, r, r) -syscall mkdirat nbargs 3 rw: (r, r, r) -syscall mknodat nbargs 4 rw: (r, r, r, r) -syscall fchownat nbargs 5 rw: (r, r, r, r, r) -syscall futimesat nbargs 3 rw: (r, r, r) -syscall futimesat_time32 nbargs 3 rw: (r, r, r) -syscall newfstatat nbargs 4 rw: (r, r, w, r) -syscall unlinkat nbargs 3 rw: (r, r, r) -syscall renameat nbargs 4 rw: (r, r, r, r) -syscall linkat nbargs 5 rw: (r, r, r, r, r) -syscall symlinkat nbargs 3 rw: (r, r, r) -syscall readlinkat nbargs 4 rw: (r, r, w, r) -syscall fchmodat nbargs 3 rw: (r, r, r) -syscall faccessat nbargs 3 rw: (r, r, r) -syscall pselect6 nbargs 6 rw: (r, rw, rw, rw, rw, r) -syscall pselect6_time32 nbargs 6 rw: (r, rw, rw, rw, rw, r) -syscall ppoll nbargs 5 rw: (rw, r, r, r, r) -syscall ppoll_time32 nbargs 5 rw: (rw, r, r, r, r) -syscall unshare nbargs 1 rw: (r) -syscall set_robust_list nbargs 2 rw: (r, r) -syscall get_robust_list nbargs 3 rw: (r, w, w) -syscall splice nbargs 6 rw: (r, r, r, r, r, r) -syscall tee nbargs 4 rw: (r, r, r, r) -syscall sync_file_range nbargs 4 rw: (r, r, r, r) -syscall vmsplice nbargs 4 rw: (r, r, r, r) -syscall move_pages nbargs 6 rw: (r, r, r, r, w, r) -syscall utimensat nbargs 4 rw: (r, r, r, r) -syscall utimensat_time32 nbargs 4 rw: (r, r, r, r) -syscall epoll_pwait nbargs 6 rw: (r, w, r, r, r, r) -syscall signalfd nbargs 3 rw: (r, r, r) -syscall timerfd_create nbargs 2 rw: (r, r) -syscall eventfd nbargs 1 rw: (r) -syscall fallocate nbargs 4 rw: (r, r, r, r) -syscall timerfd_settime nbargs 4 rw: (r, r, r, w) -syscall timerfd_settime32 nbargs 4 rw: (r, r, r, w) -syscall timerfd_gettime nbargs 2 rw: (r, w) -syscall timerfd_gettime32 nbargs 2 rw: (r, w) -syscall accept4 nbargs 4 rw: (r, w, rw, r) -syscall signalfd4 nbargs 4 rw: (r, r, r, r) -syscall eventfd2 nbargs 2 rw: (r, r) -syscall epoll_create1 nbargs 1 rw: (r) -syscall dup3 nbargs 3 rw: (r, r, r) -syscall pipe2 nbargs 2 rw: (w, r) -syscall inotify_init1 nbargs 1 rw: (r) -syscall preadv nbargs 5 rw: (r, w, r, r, r) -syscall pwritev nbargs 5 rw: (r, r, r, r, r) -syscall rt_tgsigqueueinfo nbargs 4 rw: (r, r, r, r) -syscall perf_event_open nbargs 5 rw: (r, r, r, r, r) -syscall recvmmsg nbargs 5 rw: (r, w, r, r, rw) -syscall recvmmsg_time32 nbargs 5 rw: (r, w, r, r, rw) -syscall fanotify_init nbargs 2 rw: (r, r) -syscall fanotify_mark nbargs 5 rw: (r, r, r, r, r) -syscall prlimit64 nbargs 4 rw: (r, r, r, w) -syscall name_to_handle_at nbargs 5 rw: (r, r, rw, w, r) -syscall open_by_handle_at nbargs 3 rw: (r, r, r) -syscall clock_adjtime nbargs 2 rw: (r, rw) -syscall clock_adjtime32 nbargs 2 rw: (r, rw) -syscall syncfs nbargs 1 rw: (r) -syscall sendmmsg nbargs 4 rw: (r, r, r, r) -syscall setns nbargs 2 rw: (r, r) -syscall getcpu nbargs 3 rw: (w, w, rw) -syscall process_vm_readv nbargs 6 rw: (r, w, r, r, r, r) -syscall process_vm_writev nbargs 6 rw: (r, r, r, r, r, r) -syscall finit_module nbargs 3 rw: (r, r, r) diff --git a/include/instrumentation/syscalls/x86-32-syscalls_integers.h b/include/instrumentation/syscalls/x86-32-syscalls_integers.h new file mode 100644 index 00000000..b053db67 --- /dev/null +++ b/include/instrumentation/syscalls/x86-32-syscalls_integers.h @@ -0,0 +1,1538 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 6.0.7 */ + +#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_fork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) +#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_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sigreturn) +#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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) +#endif +#ifndef OVERRIDE_32_vfork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) +#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_fork +SC_LTTNG_TRACEPOINT_EVENT(fork, + 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_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(sigreturn, + 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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vfork +SC_LTTNG_TRACEPOINT_EVENT(vfork, + 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_iopl +SC_LTTNG_TRACEPOINT_EVENT(iopl, + TP_PROTO(sc_exit(long ret,) unsigned int level), + TP_ARGS(sc_exit(ret,) level), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) +) +#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_userfaultfd +SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_memfd_secret +SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, + TP_PROTO(sc_exit(long ret,) unsigned int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#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, 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_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 flags), + TP_ARGS(sc_exit(ret,) fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) 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_arch_prctl +SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) +) +#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_pidfd_open +SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_process_mrelease +SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, + TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#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_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), + TP_ARGS(sc_exit(ret,) unused1, unused2, mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) +) +#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_ioperm +SC_LTTNG_TRACEPOINT_EVENT(ioperm, + TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), + TP_ARGS(sc_exit(ret,) from, num, turn_on), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) +) +#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_ia32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_low, unsigned long offset_high), + TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) +) +#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_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_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), + TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) +) +#endif +#ifndef OVERRIDE_32_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_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_fsmount +SC_LTTNG_TRACEPOINT_EVENT(fsmount, + TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), + TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) +) +#endif +#ifndef OVERRIDE_32_close_range +SC_LTTNG_TRACEPOINT_EVENT(close_range, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, max_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pidfd_getfd +SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, + TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_ia32_readahead +SC_LTTNG_TRACEPOINT_EVENT(ia32_readahead, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_lo, unsigned int off_hi, size_t count), + TP_ARGS(sc_exit(ret,) fd, off_lo, off_hi, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_lo, off_lo)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(size_t, count, count))) +) +#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_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_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_ia32_fadvise64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset_lo, offset_hi, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) +) +#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_kcmp +SC_LTTNG_TRACEPOINT_EVENT(kcmp, + TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), + TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) +) +#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 +#ifndef OVERRIDE_32_ia32_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice), + TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, len_low, len_high, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(__u32, offset_low, offset_low)) sc_inout(ctf_integer(__u32, offset_high, offset_high)) sc_inout(ctf_integer(__u32, len_low, len_low)) sc_inout(ctf_integer(__u32, len_high, len_high)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_32_ia32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(ia32_sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags), + TP_ARGS(sc_exit(ret,) fd, off_low, off_hi, n_low, n_hi, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_low, off_low)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(unsigned int, n_low, n_low)) sc_inout(ctf_integer(unsigned int, n_hi, n_hi)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ia32_fallocate +SC_LTTNG_TRACEPOINT_EVENT(ia32_fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi), + TP_ARGS(sc_exit(ret,) fd, mode, offset_lo, offset_hi, len_lo, len_hi), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(int, mode, mode)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(unsigned int, len_lo, len_lo)) sc_inout(ctf_integer(unsigned int, len_hi, len_hi))) +) +#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_fork +TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 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_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, sigreturn, 119, 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_rt_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vfork +TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 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_fork +TRACE_SYSCALL_TABLE(fork, fork, 2, 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_sigreturn +TRACE_SYSCALL_TABLE(sigreturn, sigreturn, 119, 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_rt_sigreturn +TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vfork +TRACE_SYSCALL_TABLE(vfork, vfork, 190, 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_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) +#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_ioperm +TRACE_SYSCALL_TABLE(ioperm, ioperm, 101, 3) +#endif +#ifndef OVERRIDE_TABLE_32_iopl +TRACE_SYSCALL_TABLE(iopl, iopl, 110, 1) +#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_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_ia32_ftruncate64 +TRACE_SYSCALL_TABLE(ia32_ftruncate64, ia32_ftruncate64, 194, 3) +#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_ia32_readahead +TRACE_SYSCALL_TABLE(ia32_readahead, ia32_readahead, 225, 4) +#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_ia32_fadvise64 +TRACE_SYSCALL_TABLE(ia32_fadvise64, ia32_fadvise64, 250, 5) +#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_ia32_fadvise64_64 +TRACE_SYSCALL_TABLE(ia32_fadvise64_64, ia32_fadvise64_64, 272, 6) +#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_ia32_sync_file_range +TRACE_SYSCALL_TABLE(ia32_sync_file_range, ia32_sync_file_range, 314, 6) +#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_ia32_fallocate +TRACE_SYSCALL_TABLE(ia32_fallocate, ia32_fallocate, 324, 6) +#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 +#ifndef OVERRIDE_TABLE_32_kcmp +TRACE_SYSCALL_TABLE(kcmp, kcmp, 349, 5) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 359, 3) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 363, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 373, 2) +#endif +#ifndef OVERRIDE_TABLE_32_userfaultfd +TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 374, 1) +#endif +#ifndef OVERRIDE_TABLE_32_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 375, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 376, 3) +#endif +#ifndef OVERRIDE_TABLE_32_arch_prctl +TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 384, 2) +#endif +#ifndef OVERRIDE_TABLE_32_semget +TRACE_SYSCALL_TABLE(semget, semget, 393, 3) +#endif +#ifndef OVERRIDE_TABLE_32_semctl +TRACE_SYSCALL_TABLE(semctl, semctl, 394, 4) +#endif +#ifndef OVERRIDE_TABLE_32_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 395, 3) +#endif +#ifndef OVERRIDE_TABLE_32_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 399, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fsmount +TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_open +TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) +#endif +#ifndef OVERRIDE_TABLE_32_close_range +TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_getfd +TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_secret +TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) +#endif +#ifndef OVERRIDE_TABLE_32_process_mrelease +TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/x86-32-syscalls_integers_override.h b/include/instrumentation/syscalls/x86-32-syscalls_integers_override.h new file mode 100644 index 00000000..3d933ad3 --- /dev/null +++ b/include/instrumentation/syscalls/x86-32-syscalls_integers_override.h @@ -0,0 +1,87 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/include/instrumentation/syscalls/x86-32-syscalls_pointers.h b/include/instrumentation/syscalls/x86-32-syscalls_pointers.h new file mode 100644 index 00000000..2d833197 --- /dev/null +++ b/include/instrumentation/syscalls/x86-32-syscalls_pointers.h @@ -0,0 +1,2709 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 6.0.7 */ + +#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_time32 +SC_LTTNG_TRACEPOINT_EVENT(time32, + TP_PROTO(sc_exit(long ret,) old_time32_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(old_time32_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_stime32 +SC_LTTNG_TRACEPOINT_EVENT(stime32, + TP_PROTO(sc_exit(long ret,) old_time32_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_time32_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 * uset), + TP_ARGS(sc_exit(ret,) uset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, uset, uset))) +) +#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_time32 +SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32, + TP_PROTO(sc_exit(long ret,) struct old_timex32 * utp), + TP_ARGS(sc_exit(ret,) utp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) +) +#endif +#ifndef OVERRIDE_32_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) struct user_desc * u_info), + TP_ARGS(sc_exit(ret,) u_info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info))) +) +#endif +#ifndef OVERRIDE_32_get_thread_area +SC_LTTNG_TRACEPOINT_EVENT(get_thread_area, + TP_PROTO(sc_exit(long ret,) struct user_desc * u_info), + TP_ARGS(sc_exit(ret,) u_info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info))) +) +#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_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_utime32 +SC_LTTNG_TRACEPOINT_EVENT(utime32, + TP_PROTO(sc_exit(long ret,) const char * filename, struct old_utimbuf32 * t), + TP_ARGS(sc_exit(ret,) filename, t), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_utimbuf32 *, t, t))) +) +#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_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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_time32 +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct old_timespec32 * 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 old_timespec32 *, interval, interval))) +) +#endif +#ifndef OVERRIDE_32_nanosleep_time32 +SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32, + TP_PROTO(sc_exit(long ret,) struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct old_itimerspec32 * 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 old_itimerspec32 *, setting, setting))) +) +#endif +#ifndef OVERRIDE_32_clock_settime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_settime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_getres_time32 +SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct old_timespec32 *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_utimes_time32 +SC_LTTNG_TRACEPOINT_EVENT(utimes_time32, + TP_PROTO(sc_exit(long ret,) const char * filename, struct old_timeval32 * t), + TP_ARGS(sc_exit(ret,) filename, t), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) +) +#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_gettime32 +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32, + TP_PROTO(sc_exit(long ret,) int ufd, struct old_itimerspec32 * 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 old_itimerspec32 *, 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_adjtime32 +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timex32 * utp), + TP_ARGS(sc_exit(ret,) which_clock, utp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp))) +) +#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_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) +) +#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 __kernel_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 __kernel_timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timex *, utx, utx))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_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 __kernel_timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct __kernel_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 __kernel_itimerspec *, setting, setting))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct __kernel_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 __kernel_itimerspec *, otmr, otmr))) +) +#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 __kernel_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 __kernel_timespec *, interval, interval))) +) +#endif +#ifndef OVERRIDE_32_io_uring_setup +SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, + TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), + TP_ARGS(sc_exit(ret,) entries, params), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) +) +#endif +#ifndef OVERRIDE_32_fsopen +SC_LTTNG_TRACEPOINT_EVENT(fsopen, + TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), + TP_ARGS(sc_exit(ret,) _fs_name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clone3 +SC_LTTNG_TRACEPOINT_EVENT(clone3, + TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), + TP_ARGS(sc_exit(ret,) uargs, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) +) +#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_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_sigaction +SC_LTTNG_TRACEPOINT_EVENT(sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct old_sigaction * act, struct old_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 old_sigaction *, act, act)) sc_inout(ctf_integer(struct old_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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_itimerval *, ovalue, ovalue))) +) +#endif +#ifndef OVERRIDE_32_modify_ldt +SC_LTTNG_TRACEPOINT_EVENT(modify_ldt, + TP_PROTO(sc_exit(long ret,) int func, void * ptr, unsigned long bytecount), + TP_ARGS(sc_exit(ret,) func, ptr, bytecount), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(unsigned long, bytecount, bytecount))) +) +#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 * ruidp, old_uid_t * euidp, old_uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruidp, ruidp)) sc_inout(ctf_integer(old_uid_t *, euidp, euidp)) sc_inout(ctf_integer(old_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_getresgid16 +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgidp, rgidp)) sc_inout(ctf_integer(old_gid_t *, egidp, egidp)) sc_inout(ctf_integer(old_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_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_ia32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_truncate64, + TP_PROTO(sc_exit(long ret,) const char * filename, unsigned long offset_low, unsigned long offset_high), + TP_ARGS(sc_exit(ret,) filename, offset_low, offset_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) +) +#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 * 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_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_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, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32, + TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timeval32 * t), + TP_ARGS(sc_exit(ret,) dfd, filename, t), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timeval32 *, t, t))) +) +#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, void * 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(void *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_32_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) ubuf, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_bpf +SC_LTTNG_TRACEPOINT_EVENT(bpf, + TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), + TP_ARGS(sc_exit(ret,) cmd, uattr, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) +) +#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_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 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_32_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_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_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_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_open_tree +SC_LTTNG_TRACEPOINT_EVENT(open_tree, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), + TP_ARGS(sc_exit(ret,) dfd, filename, flags), + 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(unsigned, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fspick +SC_LTTNG_TRACEPOINT_EVENT(fspick, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), + TP_ARGS(sc_exit(ret,) dfd, path, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) 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_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_time32 +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct old_timespec32 * 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 old_timespec32 *, 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_settime32 +SC_LTTNG_TRACEPOINT_EVENT(timer_settime32, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, struct old_itimerspec32 * new, struct old_itimerspec32 * old), + TP_ARGS(sc_exit(ret,) timer_id, flags, new, old), + 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(struct old_itimerspec32 *, new, new)) sc_out(ctf_integer(struct old_itimerspec32 *, old, old))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep_time32 +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32, + TP_PROTO(sc_exit(long ret,) clockid_t which_clock, int flags, struct old_timespec32 * rqtp, struct old_timespec32 * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(struct old_timespec32 *, rqtp, rqtp)) sc_out(ctf_integer(struct old_timespec32 *, 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_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, 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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_utimensat_time32 +SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32, + TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timespec32 * t, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, t, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_timespec32 *, t, t)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime32 +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct old_itimerspec32 * utmr, struct old_itimerspec32 * 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 old_itimerspec32 *, utmr, utmr)) sc_out(ctf_integer(struct old_itimerspec32 *, 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_sched_getattr +SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int usize, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) 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_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_rseq +SC_LTTNG_TRACEPOINT_EVENT(rseq, + TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), + TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) +) +#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_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) +) +#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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_itimerspec *, old_setting, old_setting))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct __kernel_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 __kernel_timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout))) +) +#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 __kernel_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 __kernel_timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_pidfd_send_signal +SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, + TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_io_uring_register +SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), + TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) +) +#endif +#ifndef OVERRIDE_32_openat2 +SC_LTTNG_TRACEPOINT_EVENT(openat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), + 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_32_faccessat2 +SC_LTTNG_TRACEPOINT_EVENT(faccessat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), + 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_quotactl_fd +SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), + 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#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_clone +SC_LTTNG_TRACEPOINT_EVENT(clone, + TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr), + TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr))) +) +#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 __kernel_old_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 __kernel_old_timeval *, tvp, tvp))) +) +#endif +#ifndef OVERRIDE_32_ia32_pread64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * ubuf, u32 count, u32 poslo, u32 poshi), + TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi))) +) +#endif +#ifndef OVERRIDE_32_ia32_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * ubuf, u32 count, u32 poslo, u32 poshi), + TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi))) +) +#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_time32 +SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32, + TP_PROTO(sc_exit(long ret,) __u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event * events, struct old_timespec32 * 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(__u32, ctx_id, ctx_id)) sc_in(ctf_integer(__s32, min_nr, min_nr)) sc_in(ctf_integer(__s32, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_mq_timedsend_time32 +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, u_abs_timeout, u_abs_timeout))) +) +#endif +#ifndef OVERRIDE_32_mq_timedreceive_time32 +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, unsigned int msg_len, unsigned int * u_msg_prio, const struct old_timespec32 * 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(unsigned int, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct old_timespec32 *, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct old_timespec32 * 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 old_timespec32 *, 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_time32 +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 * 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 old_timespec32 *, 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_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_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_statx +SC_LTTNG_TRACEPOINT_EVENT(statx, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), + 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) +) +#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_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, u_abs_timeout, u_abs_timeout))) +) +#endif +#ifndef OVERRIDE_32_move_mount +SC_LTTNG_TRACEPOINT_EVENT(move_mount, + TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), + TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fsconfig +SC_LTTNG_TRACEPOINT_EVENT(fsconfig, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), + TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) +) +#endif +#ifndef OVERRIDE_32_process_madvise +SC_LTTNG_TRACEPOINT_EVENT(process_madvise, + TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mount_setattr +SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_32_futex_waitv +SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, + TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), + TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) +) +#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_time32 +SC_LTTNG_TRACEPOINT_EVENT(futex_time32, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct old_timespec32 * 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(const struct old_timespec32 *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) +) +#endif +#ifndef OVERRIDE_32_pselect6_time32 +SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct old_timespec32 * 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 old_timespec32 *, 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_fanotify_mark +SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, + TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u32 mask_lo, u32 mask_hi, int dfd, const char * pathname), + TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask_lo, mask_hi, 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(u32, mask_lo, mask_lo)) sc_in(ctf_integer(u32, mask_hi, mask_hi)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) +) +#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 +#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_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_copy_file_range +SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, + 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_preadv2 +SC_LTTNG_TRACEPOINT_EVENT(preadv2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pwritev2 +SC_LTTNG_TRACEPOINT_EVENT(pwritev2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_io_pgetevents_time32 +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct old_timespec32 * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct old_timespec32 *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#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 __kernel_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 __kernel_timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_io_pgetevents +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct __kernel_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(const struct __kernel_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) +) +#endif +#ifndef OVERRIDE_32_io_uring_enter +SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, + TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), + TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait2 +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(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_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) +#endif +#ifndef OVERRIDE_TABLE_32_time32 +TRACE_SYSCALL_TABLE(time32, time32, 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_stime32 +TRACE_SYSCALL_TABLE(stime32, stime32, 25, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fstat +TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) +#endif +#ifndef OVERRIDE_TABLE_32_utime32 +TRACE_SYSCALL_TABLE(utime32, utime32, 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_sigaction +TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3) +#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_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) +#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_modify_ldt +TRACE_SYSCALL_TABLE(modify_ldt, modify_ldt, 123, 3) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex_time32 +TRACE_SYSCALL_TABLE(adjtimex_time32, adjtimex_time32, 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_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_time32 +TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32, sched_rr_get_interval_time32, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep_time32 +TRACE_SYSCALL_TABLE(nanosleep_time32, nanosleep_time32, 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_time32 +TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32, rt_sigtimedwait_time32, 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_ia32_pread64 +TRACE_SYSCALL_TABLE(ia32_pread64, ia32_pread64, 180, 5) +#endif +#ifndef OVERRIDE_TABLE_32_ia32_pwrite64 +TRACE_SYSCALL_TABLE(ia32_pwrite64, ia32_pwrite64, 181, 5) +#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_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 186, 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_ia32_truncate64 +TRACE_SYSCALL_TABLE(ia32_truncate64, ia32_truncate64, 193, 3) +#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_time32 +TRACE_SYSCALL_TABLE(futex_time32, futex_time32, 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_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 243, 1) +#endif +#ifndef OVERRIDE_TABLE_32_get_thread_area +TRACE_SYSCALL_TABLE(get_thread_area, get_thread_area, 244, 1) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents_time32 +TRACE_SYSCALL_TABLE(io_getevents_time32, io_getevents_time32, 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_settime32 +TRACE_SYSCALL_TABLE(timer_settime32, timer_settime32, 260, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime32 +TRACE_SYSCALL_TABLE(timer_gettime32, timer_gettime32, 261, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime32 +TRACE_SYSCALL_TABLE(clock_settime32, clock_settime32, 264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime32 +TRACE_SYSCALL_TABLE(clock_gettime32, clock_gettime32, 265, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres_time32 +TRACE_SYSCALL_TABLE(clock_getres_time32, clock_getres_time32, 266, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32 +TRACE_SYSCALL_TABLE(clock_nanosleep_time32, clock_nanosleep_time32, 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_time32 +TRACE_SYSCALL_TABLE(utimes_time32, utimes_time32, 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_time32 +TRACE_SYSCALL_TABLE(mq_timedsend_time32, mq_timedsend_time32, 279, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32 +TRACE_SYSCALL_TABLE(mq_timedreceive_time32, mq_timedreceive_time32, 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_time32 +TRACE_SYSCALL_TABLE(futimesat_time32, futimesat_time32, 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_time32 +TRACE_SYSCALL_TABLE(pselect6_time32, pselect6_time32, 308, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll_time32 +TRACE_SYSCALL_TABLE(ppoll_time32, ppoll_time32, 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_time32 +TRACE_SYSCALL_TABLE(utimensat_time32, utimensat_time32, 320, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime32 +TRACE_SYSCALL_TABLE(timerfd_settime32, timerfd_settime32, 325, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime32 +TRACE_SYSCALL_TABLE(timerfd_gettime32, timerfd_gettime32, 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_time32 +TRACE_SYSCALL_TABLE(recvmmsg_time32, recvmmsg_time32, 337, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fanotify_mark +TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 339, 6) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4) +#endif +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 341, 5) +#endif +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 342, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime32 +TRACE_SYSCALL_TABLE(clock_adjtime32, clock_adjtime32, 343, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4) +#endif +#ifndef OVERRIDE_TABLE_32_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 347, 6) +#endif +#ifndef OVERRIDE_TABLE_32_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 348, 6) +#endif +#ifndef OVERRIDE_TABLE_32_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 350, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 351, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 352, 4) +#endif +#ifndef OVERRIDE_TABLE_32_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 353, 5) +#endif +#ifndef OVERRIDE_TABLE_32_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 354, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 355, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 356, 2) +#endif +#ifndef OVERRIDE_TABLE_32_bpf +TRACE_SYSCALL_TABLE(bpf, bpf, 357, 3) +#endif +#ifndef OVERRIDE_TABLE_32_execveat +TRACE_SYSCALL_TABLE(execveat, execveat, 358, 5) +#endif +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 360, 4) +#endif +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 361, 3) +#endif +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 362, 3) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 364, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 365, 5) +#endif +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 366, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 367, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 368, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 369, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 370, 3) +#endif +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 371, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 372, 3) +#endif +#ifndef OVERRIDE_TABLE_32_copy_file_range +TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 377, 6) +#endif +#ifndef OVERRIDE_TABLE_32_preadv2 +TRACE_SYSCALL_TABLE(preadv2, preadv2, 378, 6) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev2 +TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 379, 6) +#endif +#ifndef OVERRIDE_TABLE_32_statx +TRACE_SYSCALL_TABLE(statx, statx, 383, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_pgetevents_time32 +TRACE_SYSCALL_TABLE(io_pgetevents_time32, io_pgetevents_time32, 385, 6) +#endif +#ifndef OVERRIDE_TABLE_32_rseq +TRACE_SYSCALL_TABLE(rseq, rseq, 386, 4) +#endif +#ifndef OVERRIDE_TABLE_32_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 396, 3) +#endif +#ifndef OVERRIDE_TABLE_32_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 397, 3) +#endif +#ifndef OVERRIDE_TABLE_32_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 398, 1) +#endif +#ifndef OVERRIDE_TABLE_32_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 400, 4) +#endif +#ifndef OVERRIDE_TABLE_32_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 401, 5) +#endif +#ifndef OVERRIDE_TABLE_32_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 402, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 403, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 404, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 405, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 406, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 407, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 408, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 409, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 410, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 411, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 412, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 413, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 414, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_pgetevents +TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 416, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 417, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 418, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 419, 5) +#endif +#ifndef OVERRIDE_TABLE_32_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 420, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 421, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 422, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 423, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_send_signal +TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_setup +TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_enter +TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) +#endif +#ifndef OVERRIDE_TABLE_32_io_uring_register +TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) +#endif +#ifndef OVERRIDE_TABLE_32_open_tree +TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) +#endif +#ifndef OVERRIDE_TABLE_32_move_mount +TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsopen +TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fsconfig +TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fspick +TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clone3 +TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) +#endif +#ifndef OVERRIDE_TABLE_32_openat2 +TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat2 +TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) +#endif +#ifndef OVERRIDE_TABLE_32_process_madvise +TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait2 +TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) +#endif +#ifndef OVERRIDE_TABLE_32_mount_setattr +TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) +#endif +#ifndef OVERRIDE_TABLE_32_quotactl_fd +TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex_waitv +TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/x86-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/x86-32-syscalls_pointers_override.h new file mode 100644 index 00000000..bd63ed09 --- /dev/null +++ b/include/instrumentation/syscalls/x86-32-syscalls_pointers_override.h @@ -0,0 +1,62 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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 + +#ifdef CONFIG_X86_64 +#ifdef CONFIG_COMPAT_OLD_SIGACTION +/* + * From the point of view of the 64-bit ABI, old_sigaction + * becomes compat_old_sigaction. + */ +#define old_sigaction compat_old_sigaction +#else /* CONFIG_COMPAT_OLD_SIGACTION */ +/* + * The target 64-bit kernel does not enable the support for + * the 32-bit compat version of OLD_SIGACTION. Defining + * OVERRIDE_32_sigaction ensures we don't build a tracepoint + * for this syscall. + */ +#define OVERRIDE_32_sigaction +#endif /* CONFIG_COMPAT_OLD_SIGACTION */ +#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/include/instrumentation/syscalls/x86-64-syscalls_integers.h b/include/instrumentation/syscalls/x86-64-syscalls_integers.h new file mode 100644 index 00000000..7b7d83f0 --- /dev/null +++ b/include/instrumentation/syscalls/x86-64-syscalls_integers.h @@ -0,0 +1,1322 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 6.0.7 */ + +#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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) +#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_fork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) +#endif +#ifndef OVERRIDE_64_vfork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) +#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_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, + 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_fork +SC_LTTNG_TRACEPOINT_EVENT(fork, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_vfork +SC_LTTNG_TRACEPOINT_EVENT(vfork, + 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_iopl +SC_LTTNG_TRACEPOINT_EVENT(iopl, + TP_PROTO(sc_exit(long ret,) unsigned int level), + TP_ARGS(sc_exit(ret,) level), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) +) +#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_userfaultfd +SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pkey_free +SC_LTTNG_TRACEPOINT_EVENT(pkey_free, + TP_PROTO(sc_exit(long ret,) int pkey), + TP_ARGS(sc_exit(ret,) pkey), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pkey, pkey))) +) +#endif +#ifndef OVERRIDE_64_memfd_secret +SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, + TP_PROTO(sc_exit(long ret,) unsigned int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#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_arch_prctl +SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) +) +#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 flags), + TP_ARGS(sc_exit(ret,) fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pkey_alloc +SC_LTTNG_TRACEPOINT_EVENT(pkey_alloc, + TP_PROTO(sc_exit(long ret,) unsigned long flags, unsigned long init_val), + TP_ARGS(sc_exit(ret,) flags, init_val), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, init_val, init_val))) +) +#endif +#ifndef OVERRIDE_64_pidfd_open +SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_process_mrelease +SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, + TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#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_ioperm +SC_LTTNG_TRACEPOINT_EVENT(ioperm, + TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), + TP_ARGS(sc_exit(ret,) from, num, turn_on), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) +) +#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_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), + TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) +) +#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_fsmount +SC_LTTNG_TRACEPOINT_EVENT(fsmount, + TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), + TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) +) +#endif +#ifndef OVERRIDE_64_close_range +SC_LTTNG_TRACEPOINT_EVENT(close_range, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, max_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pidfd_getfd +SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, + TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned 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_pkey_mprotect +SC_LTTNG_TRACEPOINT_EVENT(pkey_mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot, int pkey), + TP_ARGS(sc_exit(ret,) start, len, prot, pkey), + 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(unsigned long, prot, prot)) sc_inout(ctf_integer(int, pkey, pkey))) +) +#endif +#ifndef OVERRIDE_64_set_mempolicy_home_node +SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, len, home_node, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, home_node, home_node)) sc_inout(ctf_integer(unsigned long, 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_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_kcmp +SC_LTTNG_TRACEPOINT_EVENT(kcmp, + TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), + TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) +) +#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_rt_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 15, 0) +#endif +#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_fork +TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 57, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vfork +TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 58, 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_rt_sigreturn +TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 15, 0) +#endif +#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_fork +TRACE_SYSCALL_TABLE(fork, fork, 57, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vfork +TRACE_SYSCALL_TABLE(vfork, vfork, 58, 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_arch_prctl +TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 158, 2) +#endif +#ifndef OVERRIDE_TABLE_64_iopl +TRACE_SYSCALL_TABLE(iopl, iopl, 172, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ioperm +TRACE_SYSCALL_TABLE(ioperm, ioperm, 173, 3) +#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 +#ifndef OVERRIDE_TABLE_64_kcmp +TRACE_SYSCALL_TABLE(kcmp, kcmp, 312, 5) +#endif +#ifndef OVERRIDE_TABLE_64_userfaultfd +TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 323, 1) +#endif +#ifndef OVERRIDE_TABLE_64_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 324, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 325, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pkey_mprotect +TRACE_SYSCALL_TABLE(pkey_mprotect, pkey_mprotect, 329, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pkey_alloc +TRACE_SYSCALL_TABLE(pkey_alloc, pkey_alloc, 330, 2) +#endif +#ifndef OVERRIDE_TABLE_64_pkey_free +TRACE_SYSCALL_TABLE(pkey_free, pkey_free, 331, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fsmount +TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_open +TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) +#endif +#ifndef OVERRIDE_TABLE_64_close_range +TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_getfd +TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) +#endif +#ifndef OVERRIDE_TABLE_64_memfd_secret +TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) +#endif +#ifndef OVERRIDE_TABLE_64_process_mrelease +TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) +#endif +#ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node +TRACE_SYSCALL_TABLE(set_mempolicy_home_node, set_mempolicy_home_node, 450, 4) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/x86-64-syscalls_integers_override.h b/include/instrumentation/syscalls/x86-64-syscalls_integers_override.h new file mode 100644 index 00000000..a241399b --- /dev/null +++ b/include/instrumentation/syscalls/x86-64-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* + * this is a place-holder for x86_64 integer syscall definition override. + */ diff --git a/include/instrumentation/syscalls/x86-64-syscalls_pointers.h b/include/instrumentation/syscalls/x86-64-syscalls_pointers.h new file mode 100644 index 00000000..bd1ac35d --- /dev/null +++ b/include/instrumentation/syscalls/x86-64-syscalls_pointers.h @@ -0,0 +1,2259 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 6.0.7 */ + +#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_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct __kernel_timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __kernel_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,) __kernel_old_time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(__kernel_old_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 __kernel_timespec * rqtp, struct __kernel_timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_timespec *, rmtp, rmtp))) +) +#endif +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_64_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct __kernel_old_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 __kernel_old_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_uring_setup +SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup, + TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params), + TP_ARGS(sc_exit(ret,) entries, params), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, entries, entries)) sc_inout(ctf_integer(struct io_uring_params *, params, params))) +) +#endif +#ifndef OVERRIDE_64_fsopen +SC_LTTNG_TRACEPOINT_EVENT(fsopen, + TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags), + TP_ARGS(sc_exit(ret,) _fs_name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(_fs_name, _fs_name)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_clone3 +SC_LTTNG_TRACEPOINT_EVENT(clone3, + TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size), + TP_ARGS(sc_exit(ret,) uargs, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct clone_args *, uargs, uargs)) sc_inout(ctf_integer(size_t, size, size))) +) +#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 __kernel_old_itimerval * value, struct __kernel_old_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 __kernel_old_itimerval *, value, value)) sc_out(ctf_integer(struct __kernel_old_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 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_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_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_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_modify_ldt +SC_LTTNG_TRACEPOINT_EVENT(modify_ldt, + TP_PROTO(sc_exit(long ret,) int func, void * ptr, unsigned long bytecount), + TP_ARGS(sc_exit(ret,) func, ptr, bytecount), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(unsigned long, bytecount, bytecount))) +) +#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_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, const 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(const 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 __kernel_old_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 __kernel_old_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_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, void * 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(void *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_64_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) ubuf, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_bpf +SC_LTTNG_TRACEPOINT_EVENT(bpf, + TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size), + TP_ARGS(sc_exit(ret,) cmd, uattr, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(union bpf_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size))) +) +#endif +#ifndef OVERRIDE_64_open_tree +SC_LTTNG_TRACEPOINT_EVENT(open_tree, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags), + TP_ARGS(sc_exit(ret,) dfd, filename, flags), + 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(unsigned, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fspick +SC_LTTNG_TRACEPOINT_EVENT(fspick, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags), + TP_ARGS(sc_exit(ret,) dfd, path, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned 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 __kernel_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 __kernel_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 int nsops, const struct __kernel_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 int, nsops, nsops)) sc_inout(ctf_integer(const struct __kernel_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 __kernel_itimerspec * new_setting, struct __kernel_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 __kernel_itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct __kernel_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 __kernel_timespec * rqtp, struct __kernel_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 __kernel_timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct __kernel_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 int 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 int, 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 * uiov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, uiov, 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 *, uiov, uiov)) 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 __kernel_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 __kernel_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 __kernel_itimerspec * utmr, struct __kernel_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 __kernel_itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct __kernel_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_sched_getattr +SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int usize, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, usize, 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, usize, usize)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_rseq +SC_LTTNG_TRACEPOINT_EVENT(rseq, + TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig), + TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct rseq *, rseq, rseq)) sc_inout(ctf_integer(u32, rseq_len, rseq_len)) sc_inout(ctf_integer(int, flags, flags)) sc_inout(ctf_integer(u32, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_pidfd_send_signal +SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal, + TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(siginfo_t *, info, info)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_uring_register +SC_LTTNG_TRACEPOINT_EVENT(io_uring_register, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args), + TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, opcode, opcode)) sc_inout(ctf_integer(void *, arg, arg)) sc_inout(ctf_integer(unsigned int, nr_args, nr_args))) +) +#endif +#ifndef OVERRIDE_64_openat2 +SC_LTTNG_TRACEPOINT_EVENT(openat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, filename, how, usize), + 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 open_how *, how, how)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_64_faccessat2 +SC_LTTNG_TRACEPOINT_EVENT(faccessat2, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags), + 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(int, mode, mode)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_quotactl_fd +SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) fd, cmd, id, addr), + 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(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#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 __kernel_old_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 __kernel_old_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_clone +SC_LTTNG_TRACEPOINT_EVENT(clone, + TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, int * child_tidptr, unsigned long tls), + TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, child_tidptr, tls), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, clone_flags, clone_flags)) sc_inout(ctf_integer(unsigned long, newsp, newsp)) sc_inout(ctf_integer(int *, parent_tidptr, parent_tidptr)) sc_inout(ctf_integer(int *, child_tidptr, child_tidptr)) sc_inout(ctf_integer(unsigned long, tls, tls))) +) +#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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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 __kernel_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_kexec_file_load +SC_LTTNG_TRACEPOINT_EVENT(kexec_file_load, + TP_PROTO(sc_exit(long ret,) int kernel_fd, int initrd_fd, unsigned long cmdline_len, const char * cmdline_ptr, unsigned long flags), + TP_ARGS(sc_exit(ret,) kernel_fd, initrd_fd, cmdline_len, cmdline_ptr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, kernel_fd, kernel_fd)) sc_inout(ctf_integer(int, initrd_fd, initrd_fd)) sc_inout(ctf_integer(unsigned long, cmdline_len, cmdline_len)) sc_inout(ctf_integer(const char *, cmdline_ptr, cmdline_ptr)) sc_inout(ctf_integer(unsigned long, 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_statx +SC_LTTNG_TRACEPOINT_EVENT(statx, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer), + 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(unsigned, flags, flags)) sc_inout(ctf_integer(unsigned int, mask, mask)) sc_inout(ctf_integer(struct statx *, buffer, buffer))) +) +#endif +#ifndef OVERRIDE_64_move_mount +SC_LTTNG_TRACEPOINT_EVENT(move_mount, + TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags), + TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, from_dfd, from_dfd)) sc_inout(ctf_user_string(from_pathname, from_pathname)) sc_inout(ctf_integer(int, to_dfd, to_dfd)) sc_inout(ctf_user_string(to_pathname, to_pathname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fsconfig +SC_LTTNG_TRACEPOINT_EVENT(fsconfig, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux), + TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(const char *, _key, _key)) sc_inout(ctf_integer(const void *, _value, _value)) sc_inout(ctf_integer(int, aux, aux))) +) +#endif +#ifndef OVERRIDE_64_process_madvise +SC_LTTNG_TRACEPOINT_EVENT(process_madvise, + TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(size_t, vlen, vlen)) sc_inout(ctf_integer(int, behavior, behavior)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_mount_setattr +SC_LTTNG_TRACEPOINT_EVENT(mount_setattr, + TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize), + TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct mount_attr *, uattr, uattr)) sc_inout(ctf_integer(size_t, usize, usize))) +) +#endif +#ifndef OVERRIDE_64_futex_waitv +SC_LTTNG_TRACEPOINT_EVENT(futex_waitv, + TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid), + TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct futex_waitv *, waiters, waiters)) sc_inout(ctf_integer(unsigned int, nr_futexes, nr_futexes)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(clockid_t, clockid, clockid))) +) +#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, const struct __kernel_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(const struct __kernel_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, const unsigned long * nmask, unsigned long maxnode, unsigned int 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(const unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned int, 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 __kernel_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 __kernel_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 +#ifndef OVERRIDE_64_copy_file_range +SC_LTTNG_TRACEPOINT_EVENT(copy_file_range, + 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_inout(ctf_integer(int, fd_in, fd_in)) sc_inout(ctf_integer(loff_t *, off_in, off_in)) sc_inout(ctf_integer(int, fd_out, fd_out)) sc_inout(ctf_integer(loff_t *, off_out, off_out)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_preadv2 +SC_LTTNG_TRACEPOINT_EVENT(preadv2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pwritev2 +SC_LTTNG_TRACEPOINT_EVENT(pwritev2, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_inout(ctf_integer(unsigned long, vlen, vlen)) sc_inout(ctf_integer(unsigned long, pos_l, pos_l)) sc_inout(ctf_integer(unsigned long, pos_h, pos_h)) sc_inout(ctf_integer(rwf_t, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_pgetevents +SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct __kernel_timespec * timeout, const struct __aio_sigset * usig), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_inout(ctf_integer(long, min_nr, min_nr)) sc_inout(ctf_integer(long, nr, nr)) sc_inout(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const struct __aio_sigset *, usig, usig))) +) +#endif +#ifndef OVERRIDE_64_io_uring_enter +SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter, + TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz), + TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(u32, to_submit, to_submit)) sc_inout(ctf_integer(u32, min_complete, min_complete)) sc_inout(ctf_integer(u32, flags, flags)) sc_inout(ctf_integer(const void *, argp, argp)) sc_inout(ctf_integer(size_t, argsz, argsz))) +) +#endif +#ifndef OVERRIDE_64_epoll_pwait2 +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, const struct __kernel_timespec * 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_inout(ctf_integer(int, epfd, epfd)) sc_inout(ctf_integer(struct epoll_event *, events, events)) sc_inout(ctf_integer(int, maxevents, maxevents)) sc_inout(ctf_integer(const struct __kernel_timespec *, timeout, timeout)) sc_inout(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_inout(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-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_clone +TRACE_SYSCALL_TABLE(clone, clone, 56, 5) +#endif +#ifndef OVERRIDE_TABLE_64_execve +TRACE_SYSCALL_TABLE(execve, execve, 59, 3) +#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_modify_ldt +TRACE_SYSCALL_TABLE(modify_ldt, modify_ldt, 154, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 155, 2) +#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_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 +#ifndef OVERRIDE_TABLE_64_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 314, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 315, 4) +#endif +#ifndef OVERRIDE_TABLE_64_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 316, 5) +#endif +#ifndef OVERRIDE_TABLE_64_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 317, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 318, 3) +#endif +#ifndef OVERRIDE_TABLE_64_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 319, 2) +#endif +#ifndef OVERRIDE_TABLE_64_kexec_file_load +TRACE_SYSCALL_TABLE(kexec_file_load, kexec_file_load, 320, 5) +#endif +#ifndef OVERRIDE_TABLE_64_bpf +TRACE_SYSCALL_TABLE(bpf, bpf, 321, 3) +#endif +#ifndef OVERRIDE_TABLE_64_execveat +TRACE_SYSCALL_TABLE(execveat, execveat, 322, 5) +#endif +#ifndef OVERRIDE_TABLE_64_copy_file_range +TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 326, 6) +#endif +#ifndef OVERRIDE_TABLE_64_preadv2 +TRACE_SYSCALL_TABLE(preadv2, preadv2, 327, 6) +#endif +#ifndef OVERRIDE_TABLE_64_pwritev2 +TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 328, 6) +#endif +#ifndef OVERRIDE_TABLE_64_statx +TRACE_SYSCALL_TABLE(statx, statx, 332, 5) +#endif +#ifndef OVERRIDE_TABLE_64_io_pgetevents +TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 333, 6) +#endif +#ifndef OVERRIDE_TABLE_64_rseq +TRACE_SYSCALL_TABLE(rseq, rseq, 334, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pidfd_send_signal +TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_setup +TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_enter +TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6) +#endif +#ifndef OVERRIDE_TABLE_64_io_uring_register +TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4) +#endif +#ifndef OVERRIDE_TABLE_64_open_tree +TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3) +#endif +#ifndef OVERRIDE_TABLE_64_move_mount +TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fsopen +TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fsconfig +TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fspick +TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3) +#endif +#ifndef OVERRIDE_TABLE_64_clone3 +TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2) +#endif +#ifndef OVERRIDE_TABLE_64_openat2 +TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4) +#endif +#ifndef OVERRIDE_TABLE_64_faccessat2 +TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4) +#endif +#ifndef OVERRIDE_TABLE_64_process_madvise +TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_pwait2 +TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6) +#endif +#ifndef OVERRIDE_TABLE_64_mount_setattr +TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5) +#endif +#ifndef OVERRIDE_TABLE_64_quotactl_fd +TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4) +#endif +#ifndef OVERRIDE_TABLE_64_futex_waitv +TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/include/instrumentation/syscalls/x86-64-syscalls_pointers_override.h b/include/instrumentation/syscalls/x86-64-syscalls_pointers_override.h new file mode 100644 index 00000000..bd889451 --- /dev/null +++ b/include/instrumentation/syscalls/x86-64-syscalls_pointers_override.h @@ -0,0 +1,176 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ + +#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/src/lttng-syscalls-entry-compat-table.c b/src/lttng-syscalls-entry-compat-table.c index 2c2902bd..4eb8940d 100644 --- a/src/lttng-syscalls-entry-compat-table.c +++ b/src/lttng-syscalls-entry-compat-table.c @@ -25,7 +25,7 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args @@ -65,12 +65,12 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM compat_syscall_entry_integers #define TRACE_INCLUDE_FILE compat_syscalls_integers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #define TRACE_SYSTEM compat_syscall_entry_pointers #define TRACE_INCLUDE_FILE compat_syscalls_pointers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #undef SC_LTTNG_TRACEPOINT_ENUM @@ -100,8 +100,8 @@ /* Event compat syscall enter table */ const struct trace_syscall_entry _compat_sc_table[] = { -#include -#include +#include +#include }; const struct trace_syscall_table compat_sc_table = { diff --git a/src/lttng-syscalls-entry-table.c b/src/lttng-syscalls-entry-table.c index 7324f487..a9cfe576 100644 --- a/src/lttng-syscalls-entry-table.c +++ b/src/lttng-syscalls-entry-table.c @@ -25,7 +25,7 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args @@ -64,12 +64,12 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_entry_integers #define TRACE_INCLUDE_FILE syscalls_integers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_entry_pointers #define TRACE_INCLUDE_FILE syscalls_pointers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #undef SC_LTTNG_TRACEPOINT_ENUM @@ -97,8 +97,8 @@ /* Event syscall enter tracing table */ static const struct trace_syscall_entry _sc_table[] = { -#include -#include +#include +#include }; const struct trace_syscall_table sc_table = { diff --git a/src/lttng-syscalls-enum.c b/src/lttng-syscalls-enum.c index b82dbfd1..8ce87f95 100644 --- a/src/lttng-syscalls-enum.c +++ b/src/lttng-syscalls-enum.c @@ -15,7 +15,7 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args @@ -42,12 +42,12 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_entry_integers #define TRACE_INCLUDE_FILE syscalls_integers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_entry_pointers #define TRACE_INCLUDE_FILE syscalls_pointers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #undef SC_LTTNG_TRACEPOINT_ENUM diff --git a/src/lttng-syscalls-exit-compat-table.c b/src/lttng-syscalls-exit-compat-table.c index 2ba0c016..013438ad 100644 --- a/src/lttng-syscalls-exit-compat-table.c +++ b/src/lttng-syscalls-exit-compat-table.c @@ -25,7 +25,7 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args @@ -65,12 +65,12 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM compat_syscall_exit_integers #define TRACE_INCLUDE_FILE compat_syscalls_integers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #define TRACE_SYSTEM compat_syscall_exit_pointers #define TRACE_INCLUDE_FILE compat_syscalls_pointers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #undef SC_LTTNG_TRACEPOINT_ENUM @@ -99,8 +99,8 @@ /* Event compat syscall exit table */ const struct trace_syscall_entry _compat_sc_exit_table[] = { -#include -#include +#include +#include }; const struct trace_syscall_table compat_sc_exit_table = { diff --git a/src/lttng-syscalls-exit-table.c b/src/lttng-syscalls-exit-table.c index 8e49b425..767c6e26 100644 --- a/src/lttng-syscalls-exit-table.c +++ b/src/lttng-syscalls-exit-table.c @@ -25,7 +25,7 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args @@ -64,12 +64,12 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_exit_integers #define TRACE_INCLUDE_FILE syscalls_integers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_exit_pointers #define TRACE_INCLUDE_FILE syscalls_pointers -#include +#include #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM #undef SC_LTTNG_TRACEPOINT_ENUM @@ -97,8 +97,8 @@ /* Event syscall enter tracing table */ static const struct trace_syscall_entry _sc_exit_table[] = { -#include -#include +#include +#include }; const struct trace_syscall_table sc_exit_table = { diff --git a/src/lttng-syscalls.c b/src/lttng-syscalls.c index 242a1011..5ec6be5a 100644 --- a/src/lttng-syscalls.c +++ b/src/lttng-syscalls.c @@ -85,14 +85,14 @@ void syscall_exit_event_probe(void *__data, struct pt_regs *regs, long ret); #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_MODULE_NOINIT -#define TRACE_INCLUDE_PATH instrumentation/syscalls/headers +#define TRACE_INCLUDE_PATH instrumentation/syscalls #define PARAMS(args...) args /* Handle unknown syscalls */ #undef TRACE_SYSTEM #define TRACE_SYSTEM syscalls_unknown -#include +#include #undef TRACE_SYSTEM #undef TP_PROBE_CB diff --git a/tools/syscalls/3.0.34/powerpc-32-syscalls b/tools/syscalls/3.0.34/powerpc-32-syscalls new file mode 100644 index 00000000..f951c7ad --- /dev/null +++ b/tools/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/tools/syscalls/3.1.0-rc6/x86-32-syscalls b/tools/syscalls/3.1.0-rc6/x86-32-syscalls new file mode 100644 index 00000000..130c1e3e --- /dev/null +++ b/tools/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/tools/syscalls/3.10.0-rc7/x86-64-syscalls b/tools/syscalls/3.10.0-rc7/x86-64-syscalls new file mode 100644 index 00000000..5db1a4f1 --- /dev/null +++ b/tools/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/tools/syscalls/3.13.0/mips-32-syscalls b/tools/syscalls/3.13.0/mips-32-syscalls new file mode 100644 index 00000000..e815a989 --- /dev/null +++ b/tools/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/tools/syscalls/3.18.0/mips-32-syscalls b/tools/syscalls/3.18.0/mips-32-syscalls new file mode 100644 index 00000000..d0b35a67 --- /dev/null +++ b/tools/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/tools/syscalls/3.4.25/arm-32-syscalls b/tools/syscalls/3.4.25/arm-32-syscalls new file mode 100644 index 00000000..65c3973d --- /dev/null +++ b/tools/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/tools/syscalls/3.5.0/mips-32-syscalls b/tools/syscalls/3.5.0/mips-32-syscalls new file mode 100644 index 00000000..5b62cc7b --- /dev/null +++ b/tools/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/tools/syscalls/3.5.0/mips-64-syscalls b/tools/syscalls/3.5.0/mips-64-syscalls new file mode 100644 index 00000000..7753e06e --- /dev/null +++ b/tools/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/tools/syscalls/4.4.0/arm-64-syscalls b/tools/syscalls/4.4.0/arm-64-syscalls new file mode 100644 index 00000000..99360cee --- /dev/null +++ b/tools/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/tools/syscalls/6.0.7/arm-32-syscalls b/tools/syscalls/6.0.7/arm-32-syscalls new file mode 100644 index 00000000..42a81bf0 --- /dev/null +++ b/tools/syscalls/6.0.7/arm-32-syscalls @@ -0,0 +1,383 @@ +syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () +syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) +syscall sys_fork nr 2 nbargs 0 types: () args: () +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_execve nr 11 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +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, whence) +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_sigaction nr 67 nbargs 3 types: (int, const struct old_sigaction *, struct old_sigaction *) args: (sig, act, oact) +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_sigsuspend nr 72 nbargs 3 types: (int, int, old_sigset_t) args: (unused1, unused2, mask) +syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (uset) +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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 79 nbargs 2 types: (struct __kernel_old_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_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 __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 105 nbargs 2 types: (int, struct __kernel_old_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_clone nr 120 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) +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_time32 nr 124 nbargs 1 types: (struct old_timex32 *) args: (utp) +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_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, whence) +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 __kernel_old_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_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_time32 nr 161 nbargs 2 types: (pid_t, struct old_timespec32 *) args: (pid, interval) +syscall sys_nanosleep_time32 nr 162 nbargs 2 types: (struct old_timespec32 *, struct old_timespec32 *) 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: (ruidp, euidp, suidp) +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: (rgidp, egidp, sgidp) +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: (uset, sigsetsize) +syscall sys_rt_sigtimedwait_time32 nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct old_timespec32 *, 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_pread64 nr 180 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 181 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +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_sigaltstack nr 186 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_vfork nr 190 nbargs 0 types: () args: () +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_truncate64 nr 193 nbargs 2 types: (const char *, loff_t) args: (path, length) +syscall sys_ftruncate64 nr 194 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) +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: (ruidp, euidp, suidp) +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: (rgidp, egidp, sgidp) +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_readahead nr 225 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +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_time32 nr 240 nbargs 6 types: (u32 *, int, u32, const struct old_timespec32 *, 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_time32 nr 245 nbargs 5 types: (__u32, __s32, __s32, struct io_event *, struct old_timespec32 *) 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_settime32 nr 258 nbargs 4 types: (timer_t, int, struct old_itimerspec32 *, struct old_itimerspec32 *) args: (timer_id, flags, new, old) +syscall sys_timer_gettime32 nr 259 nbargs 2 types: (timer_t, struct old_itimerspec32 *) 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_settime32 nr 262 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_gettime32 nr 263 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_getres_time32 nr 264 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_nanosleep_time32 nr 265 nbargs 4 types: (clockid_t, int, struct old_timespec32 *, struct old_timespec32 *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_statfs64 nr 266 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 267 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_tgkill nr 268 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes_time32 nr 269 nbargs 2 types: (const char *, struct old_timeval32 *) args: (filename, t) +syscall sys_fadvise64_64 nr 270 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) +syscall sys_pciconfig_read nr 272 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) +syscall sys_pciconfig_write nr 273 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) +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_time32 nr 276 nbargs 5 types: (mqd_t, const char *, unsigned int, unsigned int, const struct old_timespec32 *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive_time32 nr 277 nbargs 5 types: (mqd_t, char *, unsigned int, unsigned int *, const struct old_timespec32 *) 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 int) args: (fd, buff, len, flags) +syscall sys_sendto nr 290 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_recv nr 291 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, ubuf, size, flags) +syscall sys_recvfrom nr 292 nbargs 6 types: (int, void *, size_t, unsigned int, 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 user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmsg nr 297 nbargs 3 types: (int, struct user_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_old_semctl nr 300 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) +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_old_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_old_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_time32 nr 312 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct old_timespec32 *) args: (semid, tsems, 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 int) 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_time32 nr 326 nbargs 3 types: (unsigned int, const char *, struct old_timeval32 *) args: (dfd, filename, t) +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_time32 nr 335 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct old_timespec32 *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll_time32 nr 336 nbargs 5 types: (struct pollfd *, unsigned int, struct old_timespec32 *, 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_sync_file_range2 nr 341 nbargs 4 types: (int, unsigned int, loff_t, loff_t) args: (fd, flags, offset, nbytes) +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, uiov, 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_kexec_load nr 347 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) +syscall sys_utimensat_time32 nr 348 nbargs 4 types: (unsigned int, const char *, struct old_timespec32 *, int) args: (dfd, filename, t, 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_fallocate nr 352 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_timerfd_settime32 nr 353 nbargs 4 types: (int, int, const struct old_itimerspec32 *, struct old_itimerspec32 *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime32 nr 354 nbargs 2 types: (int, struct old_itimerspec32 *) 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_time32 nr 365 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct old_timespec32 *) 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_fanotify_mark nr 368 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) +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_adjtime32 nr 372 nbargs 2 types: (clockid_t, struct old_timex32 *) args: (which_clock, utp) +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, flags) +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) +syscall sys_kcmp nr 378 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) +syscall sys_finit_module nr 379 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 380 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 381 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) +syscall sys_renameat2 nr 382 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 383 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) +syscall sys_getrandom nr 384 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) +syscall sys_memfd_create nr 385 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) +syscall sys_bpf nr 386 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) +syscall sys_execveat nr 387 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) +syscall sys_userfaultfd nr 388 nbargs 1 types: (int) args: (flags) +syscall sys_membarrier nr 389 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) +syscall sys_mlock2 nr 390 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_copy_file_range nr 391 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_preadv2 nr 392 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_pwritev2 nr 393 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_statx nr 397 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) +syscall sys_rseq nr 398 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) +syscall sys_io_pgetevents_time32 nr 399 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct old_timespec32 *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_clock_gettime nr 403 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_settime nr 404 nbargs 2 types: (const clockid_t, const struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_adjtime nr 405 nbargs 2 types: (const clockid_t, struct __kernel_timex *) args: (which_clock, utx) +syscall sys_clock_getres nr 406 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 407 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_timer_gettime nr 408 nbargs 2 types: (timer_t, struct __kernel_itimerspec *) args: (timer_id, setting) +syscall sys_timer_settime nr 409 nbargs 4 types: (timer_t, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timerfd_gettime nr 410 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 411 nbargs 4 types: (int, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_utimensat nr 412 nbargs 4 types: (int, const char *, struct __kernel_timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_pselect6 nr 413 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 414 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_io_pgetevents nr 416 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_recvmmsg nr 417 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct __kernel_timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_mq_timedsend nr 418 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 419 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_semtimedop nr 420 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct __kernel_timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_rt_sigtimedwait nr 421 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct __kernel_timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_futex nr 422 nbargs 6 types: (u32 *, int, u32, const struct __kernel_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_rr_get_interval nr 423 nbargs 2 types: (pid_t, struct __kernel_timespec *) args: (pid, interval) +syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) +syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) +syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) +syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) +syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) +syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) +syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) +syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) +syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) +syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) +syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) +syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) +syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) +syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) +syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) +syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) +syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) +syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) +syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) +syscall sys_landlock_create_ruleset nr 444 nbargs 3 types: (const struct landlock_ruleset_attr *const, const size_t, const __u32) args: (attr, size, flags) +syscall sys_landlock_add_rule nr 445 nbargs 4 types: (const int, const enum landlock_rule_type, const void *const, const __u32) args: (ruleset_fd, rule_type, rule_attr, flags) +syscall sys_landlock_restrict_self nr 446 nbargs 2 types: (const int, const __u32) args: (ruleset_fd, flags) +syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) +syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) diff --git a/tools/syscalls/6.0.7/arm-64-syscalls b/tools/syscalls/6.0.7/arm-64-syscalls new file mode 100644 index 00000000..4fe0cb41 --- /dev/null +++ b/tools/syscalls/6.0.7/arm-64-syscalls @@ -0,0 +1,297 @@ +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 __kernel_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_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 int) 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 __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 73 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_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, uiov, 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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 87 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) +syscall sys_utimensat nr 88 nbargs 4 types: (int, const char *, struct __kernel_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_arm64_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, const struct __kernel_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 __kernel_timespec *, struct __kernel_timespec *) args: (rqtp, rmtp) +syscall sys_getitimer nr 102 nbargs 2 types: (int, struct __kernel_old_itimerval *) args: (which, value) +syscall sys_setitimer nr 103 nbargs 3 types: (int, struct __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) +syscall sys_kexec_load nr 104 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) +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 __kernel_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 __kernel_itimerspec *, struct __kernel_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 __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 113 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 114 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 115 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_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 __kernel_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 __kernel_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_rt_sigreturn nr 139 nbargs 0 types: () args: () +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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 170 nbargs 2 types: (struct __kernel_old_timeval *, struct timezone *) args: (tv, tz) +syscall sys_adjtimex nr 171 nbargs 1 types: (struct __kernel_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 __kernel_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 __kernel_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 int, const struct __kernel_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_clone nr 220 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) +syscall sys_execve nr 221 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_mmap nr 222 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, off) +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_mbind nr 235 nbargs 6 types: (unsigned long, unsigned long, unsigned long, const unsigned long *, unsigned long, unsigned int) args: (start, len, mode, nmask, maxnode, flags) +syscall sys_get_mempolicy nr 236 nbargs 5 types: (int *, unsigned long *, unsigned long, unsigned long, unsigned long) args: (policy, nmask, maxnode, addr, flags) +syscall sys_set_mempolicy nr 237 nbargs 3 types: (int, const unsigned long *, unsigned long) args: (mode, nmask, maxnode) +syscall sys_migrate_pages nr 238 nbargs 4 types: (pid_t, unsigned long, const unsigned long *, const unsigned long *) args: (pid, maxnode, old_nodes, new_nodes) +syscall sys_move_pages nr 239 nbargs 6 types: (pid_t, unsigned long, const void * *, const int *, int *, int) args: (pid, nr_pages, pages, nodes, status, 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 __kernel_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 __kernel_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, flags) +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_kcmp nr 272 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) +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, usize, 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, void *) args: (op, flags, uargs) +syscall sys_getrandom nr 278 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) +syscall sys_memfd_create nr 279 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) +syscall sys_bpf nr 280 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) +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_userfaultfd nr 282 nbargs 1 types: (int) args: (flags) +syscall sys_membarrier nr 283 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) +syscall sys_mlock2 nr 284 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_copy_file_range nr 285 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_preadv2 nr 286 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_pwritev2 nr 287 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_statx nr 291 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) +syscall sys_io_pgetevents nr 292 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_rseq nr 293 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) +syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) +syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) +syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) +syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) +syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) +syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) +syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) +syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) +syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) +syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) +syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) +syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) +syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) +syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) +syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) +syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) +syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) +syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) +syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) +syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) +syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) +syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) +syscall sys_set_mempolicy_home_node nr 450 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (start, len, home_node, flags) diff --git a/tools/syscalls/6.0.7/x86-32-syscalls b/tools/syscalls/6.0.7/x86-32-syscalls new file mode 100644 index 00000000..6016f06a --- /dev/null +++ b/tools/syscalls/6.0.7/x86-32-syscalls @@ -0,0 +1,405 @@ +syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () +syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) +syscall sys_fork nr 2 nbargs 0 types: () args: () +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_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 *, 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_execve nr 11 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) +syscall sys_time32 nr 13 nbargs 1 types: (old_time32_t *) args: (tloc) +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_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, whence) +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_stime32 nr 25 nbargs 1 types: (old_time32_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_utime32 nr 30 nbargs 2 types: (const char *, struct old_utimbuf32 *) args: (filename, t) +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_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_sigaction nr 67 nbargs 3 types: (int, const struct old_sigaction *, struct old_sigaction *) args: (sig, act, oact) +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_sigsuspend nr 72 nbargs 3 types: (int, int, old_sigset_t) args: (unused1, unused2, mask) +syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (uset) +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 __kernel_old_timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 79 nbargs 2 types: (struct __kernel_old_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, 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_ioperm nr 101 nbargs 3 types: (unsigned long, unsigned long, int) args: (from, num, turn_on) +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 __kernel_old_itimerval *, struct __kernel_old_itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 105 nbargs 2 types: (int, struct __kernel_old_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_iopl nr 110 nbargs 1 types: (unsigned int) args: (level) +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_sigreturn nr 119 nbargs 0 types: () args: () +syscall sys_clone nr 120 nbargs 5 types: (unsigned long, unsigned long, int *, unsigned long, int *) args: (clone_flags, newsp, parent_tidptr, tls, child_tidptr) +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_modify_ldt nr 123 nbargs 3 types: (int, void *, unsigned long) args: (func, ptr, bytecount) +syscall sys_adjtimex_time32 nr 124 nbargs 1 types: (struct old_timex32 *) args: (utp) +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_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, whence) +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 __kernel_old_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_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_time32 nr 161 nbargs 2 types: (pid_t, struct old_timespec32 *) args: (pid, interval) +syscall sys_nanosleep_time32 nr 162 nbargs 2 types: (struct old_timespec32 *, struct old_timespec32 *) 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: (ruidp, euidp, suidp) +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: (rgidp, egidp, sgidp) +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_sigreturn nr 173 nbargs 0 types: () args: () +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: (uset, sigsetsize) +syscall sys_rt_sigtimedwait_time32 nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct old_timespec32 *, 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_ia32_pread64 nr 180 nbargs 5 types: (unsigned int, char *, u32, u32, u32) args: (fd, ubuf, count, poslo, poshi) +syscall sys_ia32_pwrite64 nr 181 nbargs 5 types: (unsigned int, const char *, u32, u32, u32) args: (fd, ubuf, count, poslo, poshi) +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_sigaltstack nr 186 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_vfork nr 190 nbargs 0 types: () args: () +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_ia32_truncate64 nr 193 nbargs 3 types: (const char *, unsigned long, unsigned long) args: (filename, offset_low, offset_high) +syscall sys_ia32_ftruncate64 nr 194 nbargs 3 types: (unsigned int, unsigned long, unsigned long) args: (fd, offset_low, offset_high) +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: (ruidp, euidp, suidp) +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: (rgidp, egidp, sgidp) +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_ia32_readahead nr 225 nbargs 4 types: (int, unsigned int, unsigned int, size_t) args: (fd, off_lo, off_hi, count) +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_time32 nr 240 nbargs 6 types: (u32 *, int, u32, const struct old_timespec32 *, 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_set_thread_area nr 243 nbargs 1 types: (struct user_desc *) args: (u_info) +syscall sys_get_thread_area nr 244 nbargs 1 types: (struct user_desc *) args: (u_info) +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_time32 nr 247 nbargs 5 types: (__u32, __s32, __s32, struct io_event *, struct old_timespec32 *) 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_ia32_fadvise64 nr 250 nbargs 5 types: (int, unsigned int, unsigned int, size_t, int) args: (fd, offset_lo, offset_hi, len, advice) +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_settime32 nr 260 nbargs 4 types: (timer_t, int, struct old_itimerspec32 *, struct old_itimerspec32 *) args: (timer_id, flags, new, old) +syscall sys_timer_gettime32 nr 261 nbargs 2 types: (timer_t, struct old_itimerspec32 *) 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_settime32 nr 264 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_gettime32 nr 265 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_getres_time32 nr 266 nbargs 2 types: (clockid_t, struct old_timespec32 *) args: (which_clock, tp) +syscall sys_clock_nanosleep_time32 nr 267 nbargs 4 types: (clockid_t, int, struct old_timespec32 *, struct old_timespec32 *) 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_time32 nr 271 nbargs 2 types: (const char *, struct old_timeval32 *) args: (filename, t) +syscall sys_ia32_fadvise64_64 nr 272 nbargs 6 types: (int, __u32, __u32, __u32, __u32, int) args: (fd, offset_low, offset_high, len_low, len_high, advice) +syscall sys_mq_open nr 277 nbargs 4 types: (const char *, int, umode_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_time32 nr 279 nbargs 5 types: (mqd_t, const char *, unsigned int, unsigned int, const struct old_timespec32 *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive_time32 nr 280 nbargs 5 types: (mqd_t, char *, unsigned int, unsigned int *, const struct old_timespec32 *) 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, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 296 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 297 nbargs 4 types: (int, const char *, umode_t, unsigned int) 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_time32 nr 299 nbargs 3 types: (unsigned int, const char *, struct old_timeval32 *) args: (dfd, filename, t) +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 *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 307 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6_time32 nr 308 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct old_timespec32 *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll_time32 nr 309 nbargs 5 types: (struct pollfd *, unsigned int, struct old_timespec32 *, 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_ia32_sync_file_range nr 314 nbargs 6 types: (int, unsigned int, unsigned int, unsigned int, unsigned int, int) args: (fd, off_low, off_hi, n_low, n_hi, 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, uiov, 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_time32 nr 320 nbargs 4 types: (unsigned int, const char *, struct old_timespec32 *, int) args: (dfd, filename, t, 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_ia32_fallocate nr 324 nbargs 6 types: (int, int, unsigned int, unsigned int, unsigned int, unsigned int) args: (fd, mode, offset_lo, offset_hi, len_lo, len_hi) +syscall sys_timerfd_settime32 nr 325 nbargs 4 types: (int, int, const struct old_itimerspec32 *, struct old_itimerspec32 *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime32 nr 326 nbargs 2 types: (int, struct old_itimerspec32 *) 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_time32 nr 337 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct old_timespec32 *) 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_fanotify_mark nr 339 nbargs 6 types: (int, unsigned int, u32, u32, int, const char *) args: (fanotify_fd, flags, mask_lo, mask_hi, dfd, pathname) +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_name_to_handle_at nr 341 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 342 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime32 nr 343 nbargs 2 types: (clockid_t, struct old_timex32 *) args: (which_clock, utp) +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, flags) +syscall sys_process_vm_readv nr 347 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 348 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_kcmp nr 349 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) +syscall sys_finit_module nr 350 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 351 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 352 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) +syscall sys_renameat2 nr 353 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 354 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) +syscall sys_getrandom nr 355 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) +syscall sys_memfd_create nr 356 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) +syscall sys_bpf nr 357 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) +syscall sys_execveat nr 358 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) +syscall sys_socket nr 359 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_socketpair nr 360 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_bind nr 361 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 362 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_listen nr 363 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_accept4 nr 364 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_getsockopt nr 365 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_setsockopt nr 366 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_getsockname nr 367 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 368 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_sendto nr 369 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_sendmsg nr 370 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvfrom nr 371 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_recvmsg nr 372 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_shutdown nr 373 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_userfaultfd nr 374 nbargs 1 types: (int) args: (flags) +syscall sys_membarrier nr 375 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) +syscall sys_mlock2 nr 376 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_copy_file_range nr 377 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_preadv2 nr 378 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_pwritev2 nr 379 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_statx nr 383 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) +syscall sys_arch_prctl nr 384 nbargs 2 types: (int, unsigned long) args: (option, arg2) +syscall sys_io_pgetevents_time32 nr 385 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct old_timespec32 *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_rseq nr 386 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) +syscall sys_semget nr 393 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) +syscall sys_semctl nr 394 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) +syscall sys_shmget nr 395 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) +syscall sys_shmctl nr 396 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) +syscall sys_shmat nr 397 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) +syscall sys_shmdt nr 398 nbargs 1 types: (char *) args: (shmaddr) +syscall sys_msgget nr 399 nbargs 2 types: (key_t, int) args: (key, msgflg) +syscall sys_msgsnd nr 400 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_msgrcv nr 401 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_msgctl nr 402 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) +syscall sys_clock_gettime nr 403 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_settime nr 404 nbargs 2 types: (const clockid_t, const struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_adjtime nr 405 nbargs 2 types: (const clockid_t, struct __kernel_timex *) args: (which_clock, utx) +syscall sys_clock_getres nr 406 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 407 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_timer_gettime nr 408 nbargs 2 types: (timer_t, struct __kernel_itimerspec *) args: (timer_id, setting) +syscall sys_timer_settime nr 409 nbargs 4 types: (timer_t, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timerfd_gettime nr 410 nbargs 2 types: (int, struct __kernel_itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 411 nbargs 4 types: (int, int, const struct __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_utimensat nr 412 nbargs 4 types: (int, const char *, struct __kernel_timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_pselect6 nr 413 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 414 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_io_pgetevents nr 416 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_recvmmsg nr 417 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct __kernel_timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_mq_timedsend nr 418 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 419 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct __kernel_timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_semtimedop nr 420 nbargs 4 types: (int, struct sembuf *, unsigned int, const struct __kernel_timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_rt_sigtimedwait nr 421 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct __kernel_timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_futex nr 422 nbargs 6 types: (u32 *, int, u32, const struct __kernel_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_rr_get_interval nr 423 nbargs 2 types: (pid_t, struct __kernel_timespec *) args: (pid, interval) +syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) +syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) +syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) +syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) +syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) +syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) +syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) +syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) +syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) +syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) +syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) +syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) +syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) +syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) +syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) +syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) +syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) +syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) +syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) +syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) +syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) +syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) diff --git a/tools/syscalls/6.0.7/x86-64-syscalls b/tools/syscalls/6.0.7/x86-64-syscalls new file mode 100644 index 00000000..2841ea03 --- /dev/null +++ b/tools/syscalls/6.0.7/x86-64-syscalls @@ -0,0 +1,342 @@ +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_rt_sigreturn nr 15 nbargs 0 types: () args: () +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 __kernel_old_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 __kernel_timespec *, struct __kernel_timespec *) args: (rqtp, rmtp) +syscall sys_getitimer nr 36 nbargs 2 types: (int, struct __kernel_old_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 __kernel_old_itimerval *, struct __kernel_old_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 user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmsg nr 47 nbargs 3 types: (int, struct user_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_clone nr 56 nbargs 5 types: (unsigned long, unsigned long, int *, int *, unsigned long) args: (clone_flags, newsp, parent_tidptr, child_tidptr, tls) +syscall sys_fork nr 57 nbargs 0 types: () args: () +syscall sys_vfork nr 58 nbargs 0 types: () args: () +syscall sys_execve nr 59 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +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 __kernel_old_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 __kernel_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 __kernel_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_modify_ldt nr 154 nbargs 3 types: (int, void *, unsigned long) args: (func, ptr, bytecount) +syscall sys_pivot_root nr 155 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +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_arch_prctl nr 158 nbargs 2 types: (int, unsigned long) args: (option, arg2) +syscall sys_adjtimex nr 159 nbargs 1 types: (struct __kernel_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 __kernel_old_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_iopl nr 172 nbargs 1 types: (unsigned int) args: (level) +syscall sys_ioperm nr 173 nbargs 3 types: (unsigned long, unsigned long, int) args: (from, num, turn_on) +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: (__kernel_old_time_t *) args: (tloc) +syscall sys_futex nr 202 nbargs 6 types: (u32 *, int, u32, const struct __kernel_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 __kernel_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_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 int, const struct __kernel_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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 224 nbargs 2 types: (timer_t, struct __kernel_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 __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 228 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 229 nbargs 2 types: (const clockid_t, struct __kernel_timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 230 nbargs 4 types: (const clockid_t, int, const struct __kernel_timespec *, struct __kernel_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 __kernel_old_timeval *) args: (filename, utimes) +syscall sys_mbind nr 237 nbargs 6 types: (unsigned long, unsigned long, unsigned long, const unsigned long *, unsigned long, unsigned int) args: (start, len, mode, nmask, maxnode, flags) +syscall sys_set_mempolicy nr 238 nbargs 3 types: (int, const 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 __kernel_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 __kernel_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 int) 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 __kernel_old_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 __kernel_timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 271 nbargs 5 types: (struct pollfd *, unsigned int, struct __kernel_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, uiov, 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 __kernel_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 __kernel_itimerspec *, struct __kernel_itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 287 nbargs 2 types: (int, struct __kernel_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 __kernel_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 __kernel_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, flags) +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_kcmp nr 312 nbargs 5 types: (pid_t, pid_t, int, unsigned long, unsigned long) args: (pid1, pid2, type, idx1, idx2) +syscall sys_finit_module nr 313 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 314 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 315 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, usize, flags) +syscall sys_renameat2 nr 316 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 317 nbargs 3 types: (unsigned int, unsigned int, void *) args: (op, flags, uargs) +syscall sys_getrandom nr 318 nbargs 3 types: (char *, size_t, unsigned int) args: (ubuf, len, flags) +syscall sys_memfd_create nr 319 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) +syscall sys_kexec_file_load nr 320 nbargs 5 types: (int, int, unsigned long, const char *, unsigned long) args: (kernel_fd, initrd_fd, cmdline_len, cmdline_ptr, flags) +syscall sys_bpf nr 321 nbargs 3 types: (int, union bpf_attr *, unsigned int) args: (cmd, uattr, size) +syscall sys_execveat nr 322 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) +syscall sys_userfaultfd nr 323 nbargs 1 types: (int) args: (flags) +syscall sys_membarrier nr 324 nbargs 3 types: (int, unsigned int, int) args: (cmd, flags, cpu_id) +syscall sys_mlock2 nr 325 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_copy_file_range nr 326 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_preadv2 nr 327 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_pwritev2 nr 328 nbargs 6 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long, rwf_t) args: (fd, vec, vlen, pos_l, pos_h, flags) +syscall sys_pkey_mprotect nr 329 nbargs 4 types: (unsigned long, size_t, unsigned long, int) args: (start, len, prot, pkey) +syscall sys_pkey_alloc nr 330 nbargs 2 types: (unsigned long, unsigned long) args: (flags, init_val) +syscall sys_pkey_free nr 331 nbargs 1 types: (int) args: (pkey) +syscall sys_statx nr 332 nbargs 5 types: (int, const char *, unsigned, unsigned int, struct statx *) args: (dfd, filename, flags, mask, buffer) +syscall sys_io_pgetevents nr 333 nbargs 6 types: (aio_context_t, long, long, struct io_event *, struct __kernel_timespec *, const struct __aio_sigset *) args: (ctx_id, min_nr, nr, events, timeout, usig) +syscall sys_rseq nr 334 nbargs 4 types: (struct rseq *, u32, int, u32) args: (rseq, rseq_len, flags, sig) +syscall sys_pidfd_send_signal nr 424 nbargs 4 types: (int, int, siginfo_t *, unsigned int) args: (pidfd, sig, info, flags) +syscall sys_io_uring_setup nr 425 nbargs 2 types: (u32, struct io_uring_params *) args: (entries, params) +syscall sys_io_uring_enter nr 426 nbargs 6 types: (unsigned int, u32, u32, u32, const void *, size_t) args: (fd, to_submit, min_complete, flags, argp, argsz) +syscall sys_io_uring_register nr 427 nbargs 4 types: (unsigned int, unsigned int, void *, unsigned int) args: (fd, opcode, arg, nr_args) +syscall sys_open_tree nr 428 nbargs 3 types: (int, const char *, unsigned) args: (dfd, filename, flags) +syscall sys_move_mount nr 429 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (from_dfd, from_pathname, to_dfd, to_pathname, flags) +syscall sys_fsopen nr 430 nbargs 2 types: (const char *, unsigned int) args: (_fs_name, flags) +syscall sys_fsconfig nr 431 nbargs 5 types: (int, unsigned int, const char *, const void *, int) args: (fd, cmd, _key, _value, aux) +syscall sys_fsmount nr 432 nbargs 3 types: (int, unsigned int, unsigned int) args: (fs_fd, flags, attr_flags) +syscall sys_fspick nr 433 nbargs 3 types: (int, const char *, unsigned int) args: (dfd, path, flags) +syscall sys_pidfd_open nr 434 nbargs 2 types: (pid_t, unsigned int) args: (pid, flags) +syscall sys_clone3 nr 435 nbargs 2 types: (struct clone_args *, size_t) args: (uargs, size) +syscall sys_close_range nr 436 nbargs 3 types: (unsigned int, unsigned int, unsigned int) args: (fd, max_fd, flags) +syscall sys_openat2 nr 437 nbargs 4 types: (int, const char *, struct open_how *, size_t) args: (dfd, filename, how, usize) +syscall sys_pidfd_getfd nr 438 nbargs 3 types: (int, int, unsigned int) args: (pidfd, fd, flags) +syscall sys_faccessat2 nr 439 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, mode, flags) +syscall sys_process_madvise nr 440 nbargs 5 types: (int, const struct iovec *, size_t, int, unsigned int) args: (pidfd, vec, vlen, behavior, flags) +syscall sys_epoll_pwait2 nr 441 nbargs 6 types: (int, struct epoll_event *, int, const struct __kernel_timespec *, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_mount_setattr nr 442 nbargs 5 types: (int, const char *, unsigned int, struct mount_attr *, size_t) args: (dfd, path, flags, uattr, usize) +syscall sys_quotactl_fd nr 443 nbargs 4 types: (unsigned int, unsigned int, qid_t, void *) args: (fd, cmd, id, addr) +syscall sys_memfd_secret nr 447 nbargs 1 types: (unsigned int) args: (flags) +syscall sys_process_mrelease nr 448 nbargs 2 types: (int, unsigned int) args: (pidfd, flags) +syscall sys_futex_waitv nr 449 nbargs 5 types: (struct futex_waitv *, unsigned int, unsigned int, struct __kernel_timespec *, clockid_t) args: (waiters, nr_futexes, flags, timeout, clockid) +syscall sys_set_mempolicy_home_node nr 450 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (start, len, home_node, flags) diff --git a/tools/syscalls/README b/tools/syscalls/README new file mode 100644 index 00000000..a51531b3 --- /dev/null +++ b/tools/syscalls/README @@ -0,0 +1,33 @@ +LTTng system call tracing + +1) lttng-syscall-extractor + +You need to build a kernel with CONFIG_FTRACE_SYSCALLS=y and +CONFIG_KALLSYMS_ALL=y for extraction. Apply the linker patch to get your +kernel to keep the system call metadata after boot. Then build and load +the LTTng syscall extractor module. The module will fail to load (this +is expected). See the dmesg output for system call metadata. + +2) Generate system call TRACE_EVENT(). + +Take the dmesg data and feed it to lttng-syscalls-generate-headers.sh from the +tools/syscalls directory. See the script header for usage example. It should be +run for both the integers and pointers types. + +After these are created, you just need to follow the new system call additions, +no need to regenerate the whole thing, since system calls are only appended to. + +3) Override headers + +You need to provide override headers (even if they don't contain +overrides) for each architecture. Those are meant to contain manual +overrides for specific system calls for cases where the script do not +generate the correct typing for specific system calls. + +4) Integrating the new architecture, updating architecture header + +Edit instrumentation/syscalls/syscalls_integers.h and +instrumentation/syscalls/syscalls_pointers.h. Add the new architecture (e.g. +CONFIG_X86_64) to the newly-generated headers (e.g. changing the current +x86-64-syscalls_.h into x86-64-syscalls_.h), then rebuild +lttng-modules. diff --git a/tools/syscalls/lttng-get-syscall-inout.sh b/tools/syscalls/lttng-get-syscall-inout.sh new file mode 100755 index 00000000..413eebfa --- /dev/null +++ b/tools/syscalls/lttng-get-syscall-inout.sh @@ -0,0 +1,122 @@ +#!/bin/bash +# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + +# example usage: +# lttng-get-syscall-inout.sh table-syscall-inout.txt select 1 + +ARCH_NAME=$1 +SYSCALL_NAME=$2 +ARG_NR=$3 +TMPFILE=$(mktemp) +GENERIC_INOUT_DESCRIPTION_FILE="$(dirname "$0")/table-syscall-inout.txt" + +# Delete temp file on exit +trap 'rm -f "$TMPFILE"' EXIT + +if [ "${GENERIC_INOUT_DESCRIPTION_FILE}" = "" ]; then + echo "Error: Please specify input file name as first argument" >&2 + exit 1 +fi + +if [ "${SYSCALL_NAME}" = "" ]; then + echo "Error: Please specify system call name as second argument" >&2 + exit 1 +fi + +if [[ "${ARG_NR}" = "" || ${ARG_NR} == 0 ]]; then + echo "Error: Please specify argument number larger than 0 as third argument" >&2 + exit 1 +fi + +# Search for the in/out description of a syscall. This function attempts to find +# a matching description in the per-architecture description override file (if it exists) +# and falls back to the generic description file otherwise. +# +# Returns 0 if a description was found and written to the output file, 1 otherwise. +function write_inout_description () +{ + local arch_name=$1 + local syscall_name=$2 + local output_file=$3 + local description_files=("$(dirname "$0")/table-syscall-inout-${arch_name}-override.txt" "$GENERIC_INOUT_DESCRIPTION_FILE") + local match_count + + for file in "${description_files[@]}"; do + if [ ! -f "$file" ]; then + continue + fi + + # Look for the syscall's in/out description + grep "^syscall ${syscall_name} " "${file}" > "${output_file}" || true + + # Error out if we got more than one syscall + match_count=$(wc -l < "${output_file}") + if [ "${match_count}" -gt 1 ]; then + # Fatal error; invalid description file + echo "Error: more than one system call match for ${SYSCALL_NAME}" >&2 + exit 1 + elif [ "${match_count}" -eq 1 ]; then + # Description found + return 0 + fi + done + + return 1 +} + +# Abort on error and undefined variable +set -eu + + +# Default to sc_inout for unknown syscalls +if ! write_inout_description "$ARCH_NAME" "$SYSCALL_NAME" "$TMPFILE"; then + echo "Warning: no match for syscall '${SYSCALL_NAME}', set to 'inout'" >&2 + # no match, default to inout + echo "sc_inout" + exit 0 +fi + +# Get the number of argument +SC_ARGS=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) .*/\2/g' "${TMPFILE}") + +if [ "${ARG_NR}" -gt "${SC_ARGS}" ]; then + echo "Error: argument number (${ARG_NR}) for ${SYSCALL_NAME} is larger than number of syscall arguments (${SC_ARGS})" >&2 + exit 1 +fi + +if [ "${ARG_NR}" == 1 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: (\([^,)]*\).*/\3/g' "${TMPFILE}") +fi + +if [ "${ARG_NR}" == 2 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") +fi + +if [ "${ARG_NR}" == 3 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") +fi + +if [ "${ARG_NR}" == 4 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") +fi + +if [ "${ARG_NR}" == 5 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") +fi + +if [ "${ARG_NR}" == 6 ]; then + SC_ARG_TYPE=$(sed 's/^syscall \([^ ]*\) nbargs \([^ ]*\) rw: ([^,]*, [^,]*, [^,]*, [^,]*, [^,]*, \([^,)]*\).*/\3/g' "${TMPFILE}") +fi + + +if [ "${SC_ARG_TYPE}" = "r" ]; then + echo "sc_in" +fi +if [ "${SC_ARG_TYPE}" = "w" ]; then + echo "sc_out" +fi +if [ "${SC_ARG_TYPE}" = "rw" ]; then + echo "sc_inout" +fi + +# EOF diff --git a/tools/syscalls/lttng-syscalls-extract.sh b/tools/syscalls/lttng-syscalls-extract.sh new file mode 100755 index 00000000..d2dbfcfe --- /dev/null +++ b/tools/syscalls/lttng-syscalls-extract.sh @@ -0,0 +1,40 @@ +#!/bin/bash +# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + +set -eu + +outfile="${1:-}" + +if [ "$outfile" = "" ]; then + echo "Specify an output file as first argument, it will be overwritten." + exit 1 +fi + +# Generate a random string to use as an identifier +ident=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 8 | head -n1) + +cd ../.. || exit 1 +make syscalls_extractor + +sudo insmod ./src/lttng-wrapper.ko +sudo insmod ./src/lttng-syscalls-extractor.ko ident="$ident" || true +sudo rmmod lttng-wrapper + +cd - || exit 1 + +sudo dmesg | sed -n -e 's/\(\[.*\] \)\?'"$ident"'//p' > "$outfile" + +# Make sure we have both the start and end markers +if grep -q -- '---START---' "$outfile"; then + sed -i '/^---START---/d' "$outfile" +else + echo "Error: Start marker missing from dmesg output, your kernel log buffer is probably too small, set CONFIG_LOG_BUF_SHIFT to a bigger value." + exit 1 +fi + +if grep -q -- '---END---' "$outfile"; then + sed -i '/^---END---/d' "$outfile" +else + echo "Error: End marker missing from dmesg output, something went wrong." + exit 1 +fi diff --git a/tools/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch b/tools/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch new file mode 100644 index 00000000..5269071f --- /dev/null +++ b/tools/syscalls/lttng-syscalls-extractor/linux-link-trace-syscalls-as-data.patch @@ -0,0 +1,26 @@ +Linux: link syscalls metadata as data (for LTTng syscall extraction) + +* NOT for mainline * + +Signed-off-by: Mathieu Desnoyers + +diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h +index e00f41aa8ec4..13f51fa7c3f3 100644 +--- a/include/asm-generic/vmlinux.lds.h ++++ b/include/asm-generic/vmlinux.lds.h +@@ -318,6 +318,7 @@ + __end_once = .; \ + STRUCT_ALIGN(); \ + *(__tracepoints) \ ++ TRACE_SYSCALLS() \ + /* implement dynamic printk debug */ \ + . = ALIGN(8); \ + __start___verbose = .; \ +@@ -650,7 +651,6 @@ + MCOUNT_REC() \ + *(.init.rodata .init.rodata.*) \ + FTRACE_EVENTS() \ +- TRACE_SYSCALLS() \ + KPROBE_BLACKLIST() \ + ERROR_INJECT_WHITELIST() \ + MEM_DISCARD(init.rodata) \ diff --git a/tools/syscalls/lttng-syscalls-generate-headers.sh b/tools/syscalls/lttng-syscalls-generate-headers.sh new file mode 100755 index 00000000..1ec138c7 --- /dev/null +++ b/tools/syscalls/lttng-syscalls-generate-headers.sh @@ -0,0 +1,365 @@ +#!/bin/bash + +# Generate system call probe description macros from syscall metadata dump file. +# The resulting header will be written in the headers subdirectory, in a file name +# based on the name of the input file. +# +# example usage: +# +# lttng-syscalls-generate-headers.sh +# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls x86-64 64 +# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls x86-64 64 + +CLASS=$1 +VERSIONDIR=$2 +INPUTFILE=$3 +ARCH_NAME=$4 +BITNESS=$5 +OUTPUTDIR=$6 + +if [ "$VERSIONDIR" = "" ]; then + echo "Error: Please specify input directory as second argument" >&2 + exit 1 +fi + +if [ "$INPUTFILE" = "" ]; then + echo "Error: Please specify input file as third argument" >&2 + exit 1 +fi + +if [ "$BITNESS" != "32" ] && [ "$BITNESS" != "64" ]; then + echo "Error: Please specify bitness as fourth argument (\"32\" or \"64\")" >&2 + exit 1 +fi + +if [ "$ARCH_NAME" = "" ]; then + echo "Error: Please specify the architecture name as fourth argument" >&2 + exit 1 +fi + +if [ "$OUTPUTDIR" = "" ]; then + echo "Error: Please specify output directory as fifth argument" >&2 + exit 1 +fi + +# Abort on error and undefined variable +set -eu + +INPUT=${VERSIONDIR}/${INPUTFILE} +HEADER="${OUTPUTDIR}/${INPUTFILE}_${CLASS}.h" + +# Create temp files +SRCFILE=$(mktemp) +TMPFILE=$(mktemp) + +# Delete temp files on exit +trap 'rm -f "${SRCFILE}" "${TMPFILE}"' EXIT + +cp "${INPUT}" "${SRCFILE}" + +## Cleanup the input file +# Remove the dmesg timestamp if present +perl -pi -e 's/^\[.*\] //g' "${SRCFILE}" +# Remove the 'sys_' prefix from syscall names +perl -pi -e 's/^syscall sys_([^ ]*)/syscall $1/g' "${SRCFILE}" +# Remove the user attribute from arguments +sed -i 's/ __attribute__((user))//g' "${SRCFILE}" + +#Filter + +if [ "$CLASS" = integers ]; then + #select integers and no-args. + CLASSCAP=INTEGERS + grep -v "\\*\|cap_user_header_t" "${SRCFILE}" > "${TMPFILE}" + mv "${TMPFILE}" "${SRCFILE}" +elif [ "$CLASS" = pointers ]; then + #select system calls using pointers. + CLASSCAP=POINTERS + grep "\\*\|cap_#user_header_t" "${SRCFILE}" > "${TMPFILE}" + mv "${TMPFILE}" "${SRCFILE}" +else + echo "Error: Please specify \"integers\" or \"pointers\" as first argument" >&2 + exit 1 +fi + + +echo "/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ +/* SPDX-FileCopyrightText: $(date +%Y) EfficiOS Inc. */ + +/* 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) +#define _TRACE_SYSCALLS_${CLASSCAP}_H + +#include +#include +#include \"${INPUTFILE}_${CLASS}_override.h\" +#include \"syscalls_${CLASS}_override.h\" +" > "${HEADER}" + +if [ "$CLASS" = integers ]; then + + NRARGS=0 + + # shellcheck disable=SC2129 + printf \ +'#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +' >> "${HEADER}" + + # shellcheck disable=SC2026 + grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ + perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^)]*)\) '\ +'args: \(([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, $1)\n'\ +'#endif/g' >> "${HEADER}" + + printf '#else /* #ifdef SC_ENTER */\n' >> "${HEADER}" + + # shellcheck disable=SC2026 + grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ + perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^)]*)\) '\ +'args: \(([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret)),\n'\ +' TP_ARGS(sc_exit(ret)),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" + + printf '#endif /* else #ifdef SC_ENTER */\n' >> "${HEADER}" + +fi + + +# types: 4 +# args 5 + +NRARGS=1 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + + echo Syscall: "${SC_NAME}" "${ARG1}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^)]*)\) '\ +'args: \(([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $5),\n'\ +' TP_ARGS(sc_exit(ret,) $5),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $5, $5)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + +# types: 4 5 +# args 6 7 + +NRARGS=2 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) + + echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^,]*), ([^)]*)\) '\ +'args: \(([^,]*), ([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $6, $5 $7),\n'\ +' TP_ARGS(sc_exit(ret,) $6, $7),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $6, $6)) '"${ARG2}"'(ctf_integer($5, $7, $7)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + +# types: 4 5 6 +# args 7 8 9 + +NRARGS=3 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) + ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) + + echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^,]*), ([^,]*), ([^)]*)\) '\ +'args: \(([^,]*), ([^,]*), ([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $7, $5 $8, $6 $9),\n'\ +' TP_ARGS(sc_exit(ret,) $7, $8, $9),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $7, $7)) '"${ARG2}"'(ctf_integer($5, $8, $8)) '"${ARG3}"'(ctf_integer($6, $9, $9)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + + +# types: 4 5 6 7 +# args 8 9 10 11 + +NRARGS=4 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) + ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) + ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) + + echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ +'args: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $8, $5 $9, $6 $10, $7 $11),\n'\ +' TP_ARGS(sc_exit(ret,) $8, $9, $10, $11),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $8, $8)) '"${ARG2}"'(ctf_integer($5, $9, $9)) '"${ARG3}"'(ctf_integer($6, $10, $10)) '"${ARG4}"'(ctf_integer($7, $11, $11)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + +# types: 4 5 6 7 8 +# args 9 10 11 12 13 + +NRARGS=5 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) + ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) + ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) + ARG5=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 5) + + echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" "${ARG5}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ +'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $9, $5 $10, $6 $11, $7 $12, $8 $13),\n'\ +' TP_ARGS(sc_exit(ret,) $9, $10, $11, $12, $13),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $9, $9)) '"${ARG2}"'(ctf_integer($5, $10, $10)) '"${ARG3}"'(ctf_integer($6, $11, $11)) '"${ARG4}"'(ctf_integer($7, $12, $12)) '"${ARG5}"'(ctf_integer($8, $13, $13)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + + +# types: 4 5 6 7 8 9 +# args 10 11 12 13 14 15 + +NRARGS=6 +grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | while read -r LINE; do + SC_NAME=$(echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) .*/$1/g') + ARG1=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 1) + ARG2=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 2) + ARG3=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 3) + ARG4=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 4) + ARG5=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 5) + ARG6=$(./lttng-get-syscall-inout.sh "${ARCH_NAME}" "${SC_NAME}" 6) + + echo Syscall: "${SC_NAME}" "${ARG1}" "${ARG2}" "${ARG3}" "${ARG4}" "${ARG5}" "${ARG6}" + + # shellcheck disable=SC2026 + echo "${LINE}" | perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ +'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\) '\ +'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\)/'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ +' TP_PROTO(sc_exit(long ret,) $4 $10, $5 $11, $6 $12, $7 $13, $8 $14, $9 $15),\n'\ +' TP_ARGS(sc_exit(ret,) $10, $11, $12, $13, $14, $15),\n'\ +' TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) '"${ARG1}"'(ctf_integer($4, $10, $10)) '"${ARG2}"'(ctf_integer($5, $11, $11)) '"${ARG3}"'(ctf_integer($6, $12, $12)) '"${ARG4}"'(ctf_integer($7, $13, $13)) '"${ARG5}"'(ctf_integer($8, $14, $14)) '"${ARG6}"'(ctf_integer($9, $15, $15)))\n'\ +')\n'\ +'#endif/g' >> "${HEADER}" +done + +# Macro for tracing syscall table + +echo \ +" +#endif /* _TRACE_SYSCALLS_${CLASSCAP}_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include \"${INPUTFILE}_${CLASS}_override.h\" +#include \"syscalls_${CLASS}_override.h\" +" >> "${HEADER}" + +NRARGS=0 + +if [ "$CLASS" = integers ]; then + #noargs + + # shellcheck disable=SC2129 + printf '#ifdef SC_ENTER\n' >> "${HEADER}" + + # shellcheck disable=SC2026 + grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ + perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ +'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ +'TRACE_SYSCALL_TABLE\(syscalls_noargs, $1, $2, $3\)\n'\ +'#endif/g' >> "${HEADER}" + + printf '#else /* #ifdef SC_ENTER */\n' >> "${HEADER}" + + # shellcheck disable=SC2026 + grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ + perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ +'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ +'TRACE_SYSCALL_TABLE($1, $1, $2, $3)\n'\ +'#endif/g' >> "${HEADER}" + + printf '#endif /* else #ifdef SC_ENTER */\n' >> "${HEADER}" +fi + +#others. +# shellcheck disable=SC2026 +grep -v "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " "${SRCFILE}" | \ + perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ +'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_$1\n'\ +'TRACE_SYSCALL_TABLE($1, $1, $2, $3)\n'\ +'#endif/g' >> "${HEADER}" + +printf '\n#endif /* CREATE_SYSCALL_TABLE */\n' >> "${HEADER}" + +#fields names: ...char * type with *name* or *file* or *path* or *root* +# or *put_old* or *type* +perl -pi -e 's/ctf_integer\(([^,)]*char \*), ([^\)]*)(name|file|path|root|put_old|type)([^\)]*)\)/ctf_user_string($2$3$4)/g' \ + "${HEADER}" + +#prettify addresses heuristics. +#field names with addr or ptr +perl -pi -e 's/ctf_integer\(([^,)]*), ([^,)]*addr|[^,)]*ptr)([^),]*)\)/ctf_integer_hex($1, $2$3, $2$3)/g' \ + "${HEADER}" + +#field types ending with '*' +perl -pi -e 's/ctf_integer\(([^,)]*\*), ([^),]*)\)/ctf_integer_hex($1, $2, $2)/g' "${HEADER}" + +# EOF diff --git a/tools/syscalls/table-syscall-inout-x86-32-override.txt b/tools/syscalls/table-syscall-inout-x86-32-override.txt new file mode 100644 index 00000000..4ddb5974 --- /dev/null +++ b/tools/syscalls/table-syscall-inout-x86-32-override.txt @@ -0,0 +1 @@ +syscall fanotify_mark nbargs 6 rw: (r, r, r, r, r, r) diff --git a/tools/syscalls/table-syscall-inout.txt b/tools/syscalls/table-syscall-inout.txt new file mode 100644 index 00000000..89759a3c --- /dev/null +++ b/tools/syscalls/table-syscall-inout.txt @@ -0,0 +1,317 @@ +syscall read nbargs 3 rw: (r, w, r) +syscall write nbargs 3 rw: (r, r, r) +syscall open nbargs 3 rw: (r, r, r) +syscall close nbargs 1 rw: (r) +syscall newstat nbargs 2 rw: (r, w) +syscall newfstat nbargs 2 rw: (r, w) +syscall newlstat nbargs 2 rw: (r, w) +syscall poll nbargs 3 rw: (rw, r, r) +syscall lseek nbargs 3 rw: (r, r, r) +syscall mmap nbargs 6 rw: (r, r, r, r, r, r) +syscall mprotect nbargs 3 rw: (r, r, r) +syscall munmap nbargs 2 rw: (r, r) +syscall brk nbargs 1 rw: (r) +syscall rt_sigaction nbargs 4 rw: (r, r, w, r) +syscall rt_sigprocmask nbargs 4 rw: (r, r, w, r) +syscall ioctl nbargs 3 rw: (r, r, rw) +syscall pread64 nbargs 4 rw: (r, w, r, r) +syscall pwrite64 nbargs 4 rw: (r, r, r, r) +syscall readv nbargs 3 rw: (r, rw, r) +syscall writev nbargs 3 rw: (r, rw, r) +syscall access nbargs 2 rw: (r, r) +syscall pipe nbargs 1 rw: (w) +syscall select nbargs 5 rw: (r, rw, rw, rw, rw) +syscall sched_yield nbargs 0 +syscall mremap nbargs 5 rw: (r, r, r, r, r) +syscall msync nbargs 3 rw: (r, r, r) +syscall mincore nbargs 3 rw: (r, r, w) +syscall madvise nbargs 3 rw: (r, r, r) +syscall shmget nbargs 3 rw: (r, r, r) +syscall shmat nbargs 3 rw: (r, r, r) +syscall shmctl nbargs 3 rw: (r, r, rw) +syscall dup nbargs 1 rw: (r) +syscall dup2 nbargs 2 rw: (r, r) +syscall pause nbargs 0 +syscall nanosleep nbargs 2 rw: (r, w) +syscall nanosleep_time32 nbargs 2 rw: (r, w) +syscall getitimer nbargs 2 rw: (r, w) +syscall alarm nbargs 1 rw: (r) +syscall setitimer nbargs 3 rw: (r, r, w) +syscall getpid nbargs 0 +syscall sendfile64 nbargs 4 rw: (r, r, rw, r) +syscall socket nbargs 3 rw: (r, r, r) +syscall connect nbargs 3 rw: (r, r, r) +syscall accept nbargs 3 rw: (r, w, rw) +syscall sendto nbargs 6 rw: (r, r, r, r, r, r) +syscall recvfrom nbargs 6 rw: (r, w, r, r, w, rw) +syscall sendmsg nbargs 3 rw: (r, r, r) +syscall recvmsg nbargs 3 rw: (r, rw, r) +syscall shutdown nbargs 2 rw: (r, r) +syscall bind nbargs 3 rw: (r, r, r) +syscall listen nbargs 2 rw: (r, r) +syscall getsockname nbargs 3 rw: (r, w, rw) +syscall getpeername nbargs 3 rw: (r, w, rw) +syscall socketpair nbargs 4 rw: (r, r, r, w) +syscall setsockopt nbargs 5 rw: (r, r, r, r, r) +syscall getsockopt nbargs 5 rw: (r, r, r, w, rw) +syscall exit nbargs 1 rw: (r) +syscall wait4 nbargs 4 rw: (r, w, r, w) +syscall kill nbargs 2 rw: (r, r) +syscall newuname nbargs 1 rw: (w) +syscall semget nbargs 3 rw: (r, r, r) +syscall semop nbargs 3 rw: (r, r, r) +syscall semctl nbargs 4 rw: (r, r, r, rw) +syscall shmdt nbargs 1 rw: (r) +syscall msgget nbargs 2 rw: (r, r) +syscall msgsnd nbargs 4 rw: (r, r, r, r) +syscall msgrcv nbargs 5 rw: (r, w, r, r, r) +syscall msgctl nbargs 3 rw: (r, r, rw) +syscall fcntl nbargs 3 rw: (r, r, rw) +syscall flock nbargs 2 rw: (r, r) +syscall fsync nbargs 1 rw: (r) +syscall fdatasync nbargs 1 rw: (r) +syscall truncate nbargs 2 rw: (r, r) +syscall truncate64 nbargs 2 rw: (r, r) +syscall ftruncate nbargs 2 rw: (r, r) +syscall ftruncate64 nbargs 2 rw: (r, r) +syscall getdents nbargs 3 rw: (r, w, r) +syscall getcwd nbargs 2 rw: (w, r) +syscall chdir nbargs 1 rw: (r) +syscall fchdir nbargs 1 rw: (r) +syscall rename nbargs 2 rw: (r, r) +syscall mkdir nbargs 2 rw: (r, r) +syscall rmdir nbargs 1 rw: (r) +syscall creat nbargs 2 rw: (r, r) +syscall link nbargs 2 rw: (r, r) +syscall unlink nbargs 1 rw: (r) +syscall symlink nbargs 2 rw: (r, r) +syscall readlink nbargs 3 rw: (r, w, r) +syscall chmod nbargs 2 rw: (r, r) +syscall fchmod nbargs 2 rw: (r, r) +syscall chown nbargs 3 rw: (r, r, r) +syscall fchown nbargs 3 rw: (r, r, r) +syscall lchown nbargs 3 rw: (r, r, r) +syscall umask nbargs 1 rw: (r) +syscall gettimeofday nbargs 2 rw: (w, w) +syscall getrlimit nbargs 2 rw: (r, w) +syscall getrusage nbargs 2 rw: (r, w) +syscall sysinfo nbargs 1 rw: (w) +syscall times nbargs 1 rw: (w) +syscall ptrace nbargs 4 rw: (r, r, rw, rw) +syscall getuid nbargs 0 +syscall syslog nbargs 3 rw: (r, w, r) +syscall getgid nbargs 0 +syscall setuid nbargs 1 rw: (r) +syscall setgid nbargs 1 rw: (r) +syscall geteuid nbargs 0 +syscall getegid nbargs 0 +syscall setpgid nbargs 2 rw: (r, r) +syscall getppid nbargs 0 +syscall getpgrp nbargs 0 +syscall setsid nbargs 0 +syscall setreuid nbargs 2 rw: (r, r) +syscall setregid nbargs 2 rw: (r, r) +syscall getgroups nbargs 2 rw: (r, w) +syscall setgroups nbargs 2 rw: (r, r) +syscall setresuid nbargs 3 rw: (r, r, r) +syscall getresuid nbargs 3 rw: (w, w, w) +syscall setresgid nbargs 3 rw: (r, r, r) +syscall getresgid nbargs 3 rw: (w, w, w) +syscall getpgid nbargs 1 rw: (r) +syscall setfsuid nbargs 1 rw: (r) +syscall setfsgid nbargs 1 rw: (r) +syscall getsid nbargs 1 rw: (r) +syscall capget nbargs 2 rw: (r, w) +syscall capset nbargs 2 rw: (r, r) +syscall rt_sigpending nbargs 2 rw: (w, r) +syscall rt_sigtimedwait nbargs 4 rw: (w, w, r, r) +syscall rt_sigtimedwait_time32 nbargs 4 rw: (w, w, r, r) +syscall rt_sigqueueinfo nbargs 3 rw: (r, r, r) +syscall rt_sigsuspend nbargs 2 rw: (r, r) +syscall sigaltstack nbargs 2 rw: (r, rw) +syscall utime nbargs 2 rw: (r, r) +syscall utime32 nbargs 2 rw: (r, r) +syscall mknod nbargs 3 rw: (r, r, r) +syscall personality nbargs 1 rw: (r) +syscall ustat nbargs 2 rw: (r, w) +syscall statfs nbargs 2 rw: (r, w) +syscall fstatfs nbargs 2 rw: (r, w) +syscall sysfs nbargs 3 rw: (r, r, r) +syscall getpriority nbargs 2 rw: (r, r) +syscall setpriority nbargs 3 rw: (r, r, r) +syscall sched_setparam nbargs 2 rw: (r, r) +syscall sched_getparam nbargs 2 rw: (r, w) +syscall sched_setscheduler nbargs 3 rw: (r, r, r) +syscall sched_getscheduler nbargs 1 rw: (r) +syscall sched_get_priority_max nbargs 1 rw: (r) +syscall sched_get_priority_min nbargs 1 rw: (r) +syscall sched_rr_get_interval nbargs 2 rw: (r, w) +syscall sched_rr_get_interval_time32 nbargs 2 rw: (r, w) +syscall mlock nbargs 2 rw: (r, r) +syscall munlock nbargs 2 rw: (r, r) +syscall mlockall nbargs 1 rw: (r) +syscall munlockall nbargs 0 +syscall vhangup nbargs 0 +syscall pivot_root nbargs 2 rw: (r, r) +syscall sysctl nbargs 1 rw: (rw) +syscall prctl nbargs 5 rw: (r, rw, r, r, r) +syscall adjtimex nbargs 1 rw: (rw) +syscall adjtimex_time32 nbargs 1 rw: (rw) +syscall setrlimit nbargs 2 rw: (r, r) +syscall chroot nbargs 1 rw: (r) +syscall sync nbargs 0 +syscall acct nbargs 1 rw: (r) +syscall settimeofday nbargs 2 rw: (r, r) +syscall mount nbargs 5 rw: (r, r, r, r, r) +syscall umount nbargs 2 rw: (r, r) +syscall swapon nbargs 2 rw: (r, r) +syscall swapoff nbargs 1 rw: (r) +syscall reboot nbargs 4 rw: (r, r, r, r) +syscall sethostname nbargs 2 rw: (r, r) +syscall setdomainname nbargs 2 rw: (r, r) +syscall init_module nbargs 3 rw: (r, r, r) +syscall delete_module nbargs 2 rw: (r, r) +syscall quotactl nbargs 4 rw: (r, r, r, rw) +syscall gettid nbargs 0 +syscall readahead nbargs 3 rw: (r, r, r) +syscall setxattr nbargs 5 rw: (r, r, r, r, r) +syscall lsetxattr nbargs 5 rw: (r, r, r, r, r) +syscall fsetxattr nbargs 5 rw: (r, r, r, r, r) +syscall getxattr nbargs 4 rw: (r, r, w, r) +syscall lgetxattr nbargs 4 rw: (r, r, w, r) +syscall fgetxattr nbargs 4 rw: (r, r, w, r) +syscall listxattr nbargs 3 rw: (r, w, r) +syscall llistxattr nbargs 3 rw: (r, w, r) +syscall flistxattr nbargs 3 rw: (r, w, r) +syscall removexattr nbargs 2 rw: (r, r) +syscall lremovexattr nbargs 2 rw: (r, r) +syscall fremovexattr nbargs 2 rw: (r, r) +syscall tkill nbargs 2 rw: (r, r) +syscall time nbargs 1 rw: (w) +syscall time32 nbargs 1 rw: (w) +syscall futex nbargs 6 rw: (rw, r, r, r, rw, r) +syscall futex_time32 nbargs 6 rw: (rw, r, r, r, rw, r) +syscall sched_setaffinity nbargs 3 rw: (r, r, r) +syscall sched_getaffinity nbargs 3 rw: (r, r, w) +syscall io_setup nbargs 2 rw: (r, r) +syscall io_destroy nbargs 1 rw: (r) +syscall io_getevents nbargs 5 rw: (r, r, r, w, rw) +syscall io_getevents_time32 nbargs 5 rw: (r, r, r, w, rw) +syscall io_submit nbargs 3 rw: (r, r, r) +syscall io_cancel nbargs 3 rw: (r, r, w) +syscall lookup_dcookie nbargs 3 rw: (r, w, r) +syscall epoll_create nbargs 1 rw: (r) +syscall remap_file_pages nbargs 5 rw: (r, r, r, r, r) +syscall getdents64 nbargs 3 rw: (r, w, r) +syscall set_tid_address nbargs 1 rw: (r) +syscall restart_syscall nbargs 0 +syscall semtimedop nbargs 4 rw: (r, r, r, rw) +syscall fadvise64 nbargs 4 rw: (r, r, r, r) +syscall fadvise64_64 nbargs 4 rw: (r, r, r, r) +syscall timer_create nbargs 3 rw: (r, r, w) +syscall timer_settime nbargs 4 rw: (r, r, r, w) +syscall timer_settime32 nbargs 4 rw: (r, r, r, w) +syscall timer_gettime nbargs 2 rw: (r, w) +syscall timer_gettime32 nbargs 2 rw: (r, w) +syscall timer_getoverrun nbargs 1 rw: (r) +syscall timer_delete nbargs 1 rw: (r) +syscall clock_settime nbargs 2 rw: (r, r) +syscall clock_settime32 nbargs 2 rw: (r, r) +syscall clock_gettime nbargs 2 rw: (r, w) +syscall clock_gettime32 nbargs 2 rw: (r, w) +syscall clock_getres nbargs 2 rw: (r, w) +syscall clock_getres_time32 nbargs 2 rw: (r, w) +syscall clock_nanosleep nbargs 4 rw: (r, r, r, w) +syscall clock_nanosleep_time32 nbargs 4 rw: (r, r, r, w) +syscall exit_group nbargs 1 rw: (r) +syscall epoll_wait nbargs 4 rw: (r, w, r, r) +syscall epoll_ctl nbargs 4 rw: (r, r, r, r) +syscall tgkill nbargs 3 rw: (r, r, r) +syscall utimes nbargs 2 rw: (r, r) +syscall utimes_time32 nbargs 2 rw: (r, r) +syscall mbind nbargs 6 rw: (r, r, r, r, r, r) +syscall set_mempolicy nbargs 3 rw: (r, r, r) +syscall get_mempolicy nbargs 5 rw: (w, w, r, r, r) +syscall mq_open nbargs 4 rw: (r, r, r, r) +syscall mq_unlink nbargs 1 rw: (r) +syscall mq_timedsend nbargs 5 rw: (r, r, r, r, r) +syscall mq_timedsend_time32 nbargs 5 rw: (r, r, r, r, r) +syscall mq_timedreceive nbargs 5 rw: (r, w, r, w, r) +syscall mq_timedreceive_time32 nbargs 5 rw: (r, w, r, w, r) +syscall mq_notify nbargs 2 rw: (r, r) +syscall mq_getsetattr nbargs 3 rw: (r, r, w) +syscall kexec_load nbargs 4 rw: (r, r, r, r) +syscall waitid nbargs 5 rw: (r, r, w, r, w) +syscall add_key nbargs 5 rw: (r, r, r, r, r) +syscall request_key nbargs 4 rw: (r, r, r, r) +syscall keyctl nbargs 5 rw: (r, rw, rw, rw, rw) +syscall ioprio_set nbargs 3 rw: (r, r, r) +syscall ioprio_get nbargs 2 rw: (r, r) +syscall inotify_init nbargs 0 +syscall inotify_add_watch nbargs 3 rw: (r, r, r) +syscall inotify_rm_watch nbargs 2 rw: (r, r) +syscall migrate_pages nbargs 4 rw: (r, r, r, r) +syscall openat nbargs 4 rw: (r, r, r, r) +syscall mkdirat nbargs 3 rw: (r, r, r) +syscall mknodat nbargs 4 rw: (r, r, r, r) +syscall fchownat nbargs 5 rw: (r, r, r, r, r) +syscall futimesat nbargs 3 rw: (r, r, r) +syscall futimesat_time32 nbargs 3 rw: (r, r, r) +syscall newfstatat nbargs 4 rw: (r, r, w, r) +syscall unlinkat nbargs 3 rw: (r, r, r) +syscall renameat nbargs 4 rw: (r, r, r, r) +syscall linkat nbargs 5 rw: (r, r, r, r, r) +syscall symlinkat nbargs 3 rw: (r, r, r) +syscall readlinkat nbargs 4 rw: (r, r, w, r) +syscall fchmodat nbargs 3 rw: (r, r, r) +syscall faccessat nbargs 3 rw: (r, r, r) +syscall pselect6 nbargs 6 rw: (r, rw, rw, rw, rw, r) +syscall pselect6_time32 nbargs 6 rw: (r, rw, rw, rw, rw, r) +syscall ppoll nbargs 5 rw: (rw, r, r, r, r) +syscall ppoll_time32 nbargs 5 rw: (rw, r, r, r, r) +syscall unshare nbargs 1 rw: (r) +syscall set_robust_list nbargs 2 rw: (r, r) +syscall get_robust_list nbargs 3 rw: (r, w, w) +syscall splice nbargs 6 rw: (r, r, r, r, r, r) +syscall tee nbargs 4 rw: (r, r, r, r) +syscall sync_file_range nbargs 4 rw: (r, r, r, r) +syscall vmsplice nbargs 4 rw: (r, r, r, r) +syscall move_pages nbargs 6 rw: (r, r, r, r, w, r) +syscall utimensat nbargs 4 rw: (r, r, r, r) +syscall utimensat_time32 nbargs 4 rw: (r, r, r, r) +syscall epoll_pwait nbargs 6 rw: (r, w, r, r, r, r) +syscall signalfd nbargs 3 rw: (r, r, r) +syscall timerfd_create nbargs 2 rw: (r, r) +syscall eventfd nbargs 1 rw: (r) +syscall fallocate nbargs 4 rw: (r, r, r, r) +syscall timerfd_settime nbargs 4 rw: (r, r, r, w) +syscall timerfd_settime32 nbargs 4 rw: (r, r, r, w) +syscall timerfd_gettime nbargs 2 rw: (r, w) +syscall timerfd_gettime32 nbargs 2 rw: (r, w) +syscall accept4 nbargs 4 rw: (r, w, rw, r) +syscall signalfd4 nbargs 4 rw: (r, r, r, r) +syscall eventfd2 nbargs 2 rw: (r, r) +syscall epoll_create1 nbargs 1 rw: (r) +syscall dup3 nbargs 3 rw: (r, r, r) +syscall pipe2 nbargs 2 rw: (w, r) +syscall inotify_init1 nbargs 1 rw: (r) +syscall preadv nbargs 5 rw: (r, w, r, r, r) +syscall pwritev nbargs 5 rw: (r, r, r, r, r) +syscall rt_tgsigqueueinfo nbargs 4 rw: (r, r, r, r) +syscall perf_event_open nbargs 5 rw: (r, r, r, r, r) +syscall recvmmsg nbargs 5 rw: (r, w, r, r, rw) +syscall recvmmsg_time32 nbargs 5 rw: (r, w, r, r, rw) +syscall fanotify_init nbargs 2 rw: (r, r) +syscall fanotify_mark nbargs 5 rw: (r, r, r, r, r) +syscall prlimit64 nbargs 4 rw: (r, r, r, w) +syscall name_to_handle_at nbargs 5 rw: (r, r, rw, w, r) +syscall open_by_handle_at nbargs 3 rw: (r, r, r) +syscall clock_adjtime nbargs 2 rw: (r, rw) +syscall clock_adjtime32 nbargs 2 rw: (r, rw) +syscall syncfs nbargs 1 rw: (r) +syscall sendmmsg nbargs 4 rw: (r, r, r, r) +syscall setns nbargs 2 rw: (r, r) +syscall getcpu nbargs 3 rw: (w, w, rw) +syscall process_vm_readv nbargs 6 rw: (r, w, r, r, r, r) +syscall process_vm_writev nbargs 6 rw: (r, r, r, r, r, r) +syscall finit_module nbargs 3 rw: (r, r, r)