From: Lars Persson Date: Tue, 8 Sep 2015 13:31:45 +0000 (+0200) Subject: Update the MIPS32 syscall instrumentation to 3.18 X-Git-Tag: v2.7.0-rc2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=20cca32500ce0fd16aa600bc22c355b7fed5af76;p=lttng-modules.git Update the MIPS32 syscall instrumentation to 3.18 Signed-off-by: Lars Persson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 b/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 new file mode 100644 index 00000000..d0b35a67 --- /dev/null +++ b/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 @@ -0,0 +1,287 @@ +syscall sys_exit nr 4001 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 4003 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4004 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 4005 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 4006 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 4008 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 4009 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 4010 nbargs 1 types: (const char *) args: (pathname) +syscall sys_execve nr 4011 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_chdir nr 4012 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 4013 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 4014 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 4015 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_lchown nr 4016 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_lseek nr 4019 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) +syscall sys_getpid nr 4020 nbargs 0 types: () args: () +syscall sys_mount nr 4021 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) +syscall sys_setuid nr 4023 nbargs 1 types: (uid_t) args: (uid) +syscall sys_getuid nr 4024 nbargs 0 types: () args: () +syscall sys_stime nr 4025 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 4026 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 4027 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_pause nr 4029 nbargs 0 types: () args: () +syscall sys_utime nr 4030 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 4033 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 4036 nbargs 0 types: () args: () +syscall sys_kill nr 4037 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 4038 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 4039 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 4040 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 4041 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_times nr 4043 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 4045 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid nr 4046 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getgid nr 4047 nbargs 0 types: () args: () +syscall sys_geteuid nr 4049 nbargs 0 types: () args: () +syscall sys_getegid nr 4050 nbargs 0 types: () args: () +syscall sys_umount nr 4052 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 4054 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 4055 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 4057 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 4060 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 4061 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 4062 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 4063 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 4064 nbargs 0 types: () args: () +syscall sys_getpgrp nr 4065 nbargs 0 types: () args: () +syscall sys_setsid nr 4066 nbargs 0 types: () args: () +syscall sys_sigaction nr 4067 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) +syscall sys_setreuid nr 4070 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 4071 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_sigsuspend nr 4072 nbargs 1 types: (sigset_t *) args: (uset) +syscall sys_sigpending nr 4073 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 4074 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 4075 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrlimit nr 4076 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 4077 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 4078 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 4079 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups nr 4080 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 4081 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 4083 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 4085 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_reboot nr 4088 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 4089 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_mmap nr 4090 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) +syscall sys_munmap nr 4091 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 4092 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 4093 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 4094 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchown nr 4095 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_getpriority nr 4096 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 4097 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 4099 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 4100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 4102 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 4103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 4104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 4105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 4106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 4107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 4108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 4111 nbargs 0 types: () args: () +syscall sys_wait4 nr 4114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_sysinfo nr 4116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 4117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 4118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 4121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 4122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 4124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 4125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 4126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 4128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 4129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_getpgid nr 4132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 4133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_personality nr 4136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid nr 4138 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 4139 nbargs 1 types: (gid_t) args: (gid) +syscall sys_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, whence) +syscall sys_getdents nr 4141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 4142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 4143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 4144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 4145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 4146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_cacheflush nr 4147 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) +syscall sys_cachectl nr 4148 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) +syscall sys_sysmips nr 4149 nbargs 3 types: (long, long, long) args: (cmd, arg1, arg2) +syscall sys_getsid nr 4151 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 4152 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 4153 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 4154 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 4155 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 4156 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 4157 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 4158 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 4159 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 4160 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 4161 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 4162 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 4163 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 4164 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 4165 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 4166 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 4167 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_accept nr 4168 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_bind nr 4169 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 4170 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_getpeername nr 4171 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockname nr 4172 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockopt nr 4173 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_listen nr 4174 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_recv nr 4175 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, ubuf, size, flags) +syscall sys_recvfrom nr 4176 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_recvmsg nr 4177 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) +syscall sys_sendmsg nr 4179 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_sendto nr 4180 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_setsockopt nr 4181 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_shutdown nr 4182 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_socket nr 4183 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_socketpair nr 4184 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_setresuid nr 4185 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 4186 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_poll nr 4188 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_setresgid nr 4190 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 4191 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_prctl nr 4192 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 4194 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 4195 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 4196 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) +syscall sys_rt_sigtimedwait nr 4197 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 4198 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 4199 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_pread64 nr 4200 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 4201 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_chown nr 4202 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getcwd nr 4203 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 4204 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 4205 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sigaltstack nr 4206 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_sendfile nr 4207 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) +syscall sys_truncate64 nr 4211 nbargs 2 types: (const char *, loff_t) args: (path, length) +syscall sys_ftruncate64 nr 4212 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) +syscall sys_stat64 nr 4213 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 4214 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 4215 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_pivot_root nr 4216 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_mincore nr 4217 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 4218 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_getdents64 nr 4219 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_fcntl64 nr 4220 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_gettid nr 4222 nbargs 0 types: () args: () +syscall sys_readahead nr 4223 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +syscall sys_setxattr nr 4224 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 4225 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 4226 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 4227 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 4228 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 4229 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 4230 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 4231 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 4232 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 4233 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 4234 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 4235 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 4236 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_sendfile64 nr 4237 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_futex nr 4238 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_io_setup nr 4241 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 4242 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 4243 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 4244 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 4245 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 4246 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 4248 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 4249 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 4250 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 4251 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 4252 nbargs 1 types: (int *) args: (tidptr) +syscall sys_restart_syscall nr 4253 nbargs 0 types: () args: () +syscall sys_fadvise64_64 nr 4254 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) +syscall sys_statfs64 nr 4255 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 4256 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_timer_create nr 4257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 4258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 4259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 4260 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 4261 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 4262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 4263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 4264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 4265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_tgkill nr 4266 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 4267 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_waitid nr 4278 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_set_thread_area nr 4283 nbargs 1 types: (unsigned long) args: (addr) +syscall sys_inotify_init nr 4284 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 4285 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 4286 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 4288 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 4289 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 4290 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 4291 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 4292 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 4293 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 4294 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 4295 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 4296 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 4297 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 4298 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 4299 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 4300 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 4301 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 4302 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 4303 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_splice nr 4304 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_sync_file_range nr 4305 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) +syscall sys_tee nr 4306 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 4307 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_set_robust_list nr 4309 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 4310 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_getcpu nr 4312 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 4313 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_ioprio_set nr 4314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 4315 nbargs 2 types: (int, int) args: (which, who) +syscall sys_utimensat nr 4316 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 4317 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_eventfd nr 4319 nbargs 1 types: (unsigned int) args: (count) +syscall sys_fallocate nr 4320 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_timerfd_create nr 4321 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_timerfd_gettime nr 4322 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 4323 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_signalfd4 nr 4324 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 4325 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 4326 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 4327 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 4328 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 4329 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 4330 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 4331 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 4332 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 4333 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_accept4 nr 4334 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_recvmmsg nr 4335 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_prlimit64 nr 4338 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_name_to_handle_at nr 4339 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 4340 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 4341 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 4342 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 4343 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 4344 nbargs 2 types: (int, int) args: (fd, nstype) +syscall sys_finit_module nr 4348 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 4349 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 4350 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, size, flags) +syscall sys_renameat2 nr 4351 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 4352 nbargs 3 types: (unsigned int, unsigned int, const char *) args: (op, flags, uargs) +syscall sys_getrandom nr 4353 nbargs 3 types: (char *, size_t, unsigned int) args: (buf, count, flags) +syscall sys_memfd_create nr 4354 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h new file mode 100644 index 00000000..d5205281 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h @@ -0,0 +1,1109 @@ +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include "../../../probes/lttng-tracepoint-event.h" +#include +#include "mips-32-syscalls-3.18.0_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) unsigned long addr), + TP_ARGS(sc_exit(ret,) addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) +) +#endif +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(loff_t, length, length))) +) +#endif +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_cacheflush +SC_LTTNG_TRACEPOINT_EVENT(cacheflush, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), + TP_ARGS(sc_exit(ret,) addr, bytes, cache), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) +) +#endif +#ifndef OVERRIDE_32_sysmips +SC_LTTNG_TRACEPOINT_EVENT(sysmips, + TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), + TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, cmd, cmd)) sc_inout(ctf_integer(long, arg1, arg1)) sc_inout(ctf_integer(long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol))) +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_readahead +SC_LTTNG_TRACEPOINT_EVENT(readahead, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), + TP_ARGS(sc_exit(ret,) fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_32_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fallocate +SC_LTTNG_TRACEPOINT_EVENT(fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), + TP_ARGS(sc_exit(ret,) fd, mode, offset, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mmap +SC_LTTNG_TRACEPOINT_EVENT(mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(off_t, offset, offset))) +) +#endif +#ifndef OVERRIDE_32_mips_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include "../../../probes/define_trace.h" + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-32-syscalls-3.18.0_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) +#endif +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) +#endif +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) +#endif +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 4006, 1) +#endif +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) +#endif +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) +#endif +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) +#endif +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) +#endif +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) +#endif +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) +#endif +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 4090, 6) +#endif +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) +#endif +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) +#endif +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) +#endif +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) +#endif +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) +#endif +#ifndef OVERRIDE_TABLE_32_cacheflush +TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysmips +TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) +#endif +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mips_mmap2 +TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate64 +TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) +#endif +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) +#endif +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) +#endif +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) +#endif +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fadvise64_64 +TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) +#endif +#ifndef OVERRIDE_TABLE_32_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) +#endif +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) +#endif +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h new file mode 100644 index 00000000..49b485bb --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h @@ -0,0 +1,3 @@ +/* + * this is a place-holder for MIPS integer syscall definition override. + */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h new file mode 100644 index 00000000..8ff4fee5 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h @@ -0,0 +1,1894 @@ +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include "../../../probes/lttng-tracepoint-event.h" +#include +#include "mips-32-syscalls-3.18.0_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) +) +#endif +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) +) +#endif +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * uset), + TP_ARGS(sc_exit(ret,) uset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) +) +#endif +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) +) +#endif +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim))) +) +#endif +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_out(ctf_integer(struct rlimit *, rlim, rlim))) +) +#endif +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz))) +) +#endif +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz))) +) +#endif +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) +) +#endif +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name_user, name_user)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(struct sched_param *, param, param))) +) +#endif +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct sched_param *, param, param))) +) +#endif +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval))) +) +#endif +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) +) +#endif +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(sigset_t *, unewset, unewset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_32_sigaltstack +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, + TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), + TP_ARGS(sc_exit(ret,) uss, uoss), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) +) +#endif +#ifndef OVERRIDE_32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(truncate64, + TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) +) +#endif +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(new_root, new_root)) sc_in(ctf_user_string(put_old, put_old))) +) +#endif +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, nr_events, nr_events)) sc_in(ctf_integer(aio_context_t *, ctxp, ctxp))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting))) +) +#endif +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(const struct timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) +) +#endif +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct robust_list_head *, head, head)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct timex *, utx, utx))) +) +#endif +#ifndef OVERRIDE_32_memfd_create +SC_LTTNG_TRACEPOINT_EVENT(memfd_create, + TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), + TP_ARGS(sc_exit(ret,) uname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options))) +) +#endif +#ifndef OVERRIDE_32_execve +SC_LTTNG_TRACEPOINT_EVENT(execve, + TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), + TP_ARGS(sc_exit(ret,) filename, argv, envp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) +) +#endif +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_sigaction +SC_LTTNG_TRACEPOINT_EVENT(sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), + TP_ARGS(sc_exit(ret,) sig, act, oact), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) +) +#endif +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) +) +#endif +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct old_linux_dirent *, dirent, dirent)) sc_inout(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, type, type)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue))) +) +#endif +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(old_sigset_t *, nset, nset)) sc_inout(ctf_integer(old_sigset_t *, oset, oset))) +) +#endif +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(void *, umod, umod)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(const char *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) +) +#endif +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) +) +#endif +#ifndef OVERRIDE_32_cachectl +SC_LTTNG_TRACEPOINT_EVENT(cachectl, + TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), + TP_ARGS(sc_exit(ret,) addr, nbytes, op), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) +) +#endif +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, policy, policy)) sc_in(ctf_integer(struct sched_param *, param, param))) +) +#endif +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen))) +) +#endif +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) +) +#endif +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, uservaddr, uservaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) +) +#endif +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) +) +#endif +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) +) +#endif +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) +) +#endif +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) +) +#endif +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) +) +#endif +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) +) +#endif +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_out(ctf_integer(unsigned char *, vec, vec))) +) +#endif +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent64 *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, nr, nr)) sc_in(ctf_integer(struct iocb * *, iocbpp, iocbpp))) +) +#endif +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result))) +) +#endif +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(pathname, pathname)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct sigevent *, timer_event_spec, timer_event_spec)) sc_out(ctf_integer(timer_t *, created_timer_id, created_timer_id))) +) +#endif +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(u32, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, pid, pid)) sc_out(ctf_integer(struct robust_list_head * *, head_ptr, head_ptr)) sc_out(ctf_integer(size_t *, len_ptr, len_ptr))) +) +#endif +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(unsigned *, cpup, cpup)) sc_out(ctf_integer(unsigned *, nodep, nodep)) sc_inout(ctf_integer(struct getcpu_cache *, unused, unused))) +) +#endif +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask))) +) +#endif +#ifndef OVERRIDE_32_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_finit_module +SC_LTTNG_TRACEPOINT_EVENT(finit_module, + TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), + TP_ARGS(sc_exit(ret,) fd, uargs, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_setattr +SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_seccomp +SC_LTTNG_TRACEPOINT_EVENT(seccomp, + TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), + TP_ARGS(sc_exit(ret,) op, flags, uargs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_32_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), + TP_ARGS(sc_exit(ret,) buf, count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, magic1, magic1)) sc_in(ctf_integer(int, magic2, magic2)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(void *, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(int *, stat_addr, stat_addr)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_recv +SC_LTTNG_TRACEPOINT_EVENT(recv, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol)) sc_out(ctf_integer(int *, usockvec, usockvec))) +) +#endif +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(const struct sigaction *, act, act)) sc_out(ctf_integer(struct sigaction *, oact, oact)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, how, how)) sc_in(ctf_integer(sigset_t *, nset, nset)) sc_out(ctf_integer(sigset_t *, oset, oset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(const sigset_t *, uthese, uthese)) sc_out(ctf_integer(siginfo_t *, uinfo, uinfo)) sc_in(ctf_integer(const struct timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_pread64 +SC_LTTNG_TRACEPOINT_EVENT(pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_32_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, out_fd, out_fd)) sc_inout(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(off_t *, offset, offset)) sc_inout(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) +) +#endif +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, out_fd, out_fd)) sc_in(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(loff_t *, offset, offset)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event))) +) +#endif +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) +) +#endif +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)) sc_inout(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) +) +#endif +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) +) +#endif +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(const struct rlimit64 *, new_rlim, new_rlim)) sc_out(ctf_integer(struct rlimit64 *, old_rlim, old_rlim))) +) +#endif +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getattr +SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data))) +) +#endif +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timeval *, tvp, tvp))) +) +#endif +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen))) +) +#endif +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_in(ctf_integer(char *, optval, optval)) sc_in(ctf_integer(int, optlen, optlen))) +) +#endif +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(struct siginfo *, infop, infop)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_out(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) +) +#endif +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) +) +#endif +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct perf_event_attr *, attr_uptr, attr_uptr)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, cpu, cpu)) sc_in(ctf_integer(int, group_fd, group_fd)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_renameat2 +SC_LTTNG_TRACEPOINT_EVENT(renameat2, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, call, call)) sc_inout(ctf_integer(int, first, first)) sc_inout(ctf_integer(unsigned long, second, second)) sc_inout(ctf_integer(unsigned long, third, third)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(long, fifth, fifth))) +) +#endif +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(u32, val, val)) sc_in(ctf_integer(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) +) +#endif +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd_in, fd_in)) sc_in(ctf_integer(loff_t *, off_in, off_in)) sc_in(ctf_integer(int, fd_out, fd_out)) sc_in(ctf_integer(loff_t *, off_out, off_out)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include "../../../probes/define_trace.h" + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-32-syscalls-3.18.0_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 4003, 3) +#endif +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4004, 3) +#endif +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 4005, 3) +#endif +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) +#endif +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) +#endif +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 4009, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) +#endif +#ifndef OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) +#endif +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 4013, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) +#endif +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) +#endif +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) +#endif +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) +#endif +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 4033, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) +#endif +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 4043, 1) +#endif +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) +#endif +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigaction +TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) +#endif +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) +#endif +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) +#endif +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) +#endif +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) +#endif +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) +#endif +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) +#endif +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) +#endif +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) +#endif +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) +#endif +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) +#endif +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) +#endif +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) +#endif +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 4142, 5) +#endif +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) +#endif +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) +#endif +#ifndef OVERRIDE_TABLE_32_cachectl +TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) +#endif +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) +#endif +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) +#endif +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) +#endif +#ifndef OVERRIDE_TABLE_32_recv +TRACE_SYSCALL_TABLE(recv, recv, 4175, 4) +#endif +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) +#endif +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 4178, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) +#endif +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) +#endif +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) +#endif +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) +#endif +#ifndef OVERRIDE_TABLE_32_truncate64 +TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) +#endif +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) +#endif +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) +#endif +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) +#endif +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) +#endif +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) +#endif +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) +#endif +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) +#endif +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) +#endif +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) +#endif +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) +#endif +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) +#endif +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) +#endif +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) +#endif +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) +#endif +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) +#endif +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) +#endif +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) +#endif +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) +#endif +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) +#endif +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) +#endif +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) +#endif +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) +#endif +#ifndef OVERRIDE_TABLE_32_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 4348, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 4349, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 4350, 4) +#endif +#ifndef OVERRIDE_TABLE_32_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 4351, 5) +#endif +#ifndef OVERRIDE_TABLE_32_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 4352, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 4353, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 4354, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h new file mode 100644 index 00000000..d7e25036 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h @@ -0,0 +1,28 @@ +#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 */