X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fsyscalls%2Fheaders%2Fx86-32-syscalls_integers.h;h=b053db6769f9127b883c7e40afe0851a852a8a08;hb=86040c9e2ff8a79633db34220e32bdda536b00e6;hp=ddc8b21ebfb9767a2698e007e59b54e1aa9b3f69;hpb=cae34aadcc5ac23148182c5419214fa013c7eb60;p=lttng-modules.git diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h index ddc8b21e..b053db67 100644 --- a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h +++ b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h @@ -2,7 +2,7 @@ /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -/* Generated from x86-32-syscalls 3.1.0-rc6 */ +/* Generated from x86-32-syscalls 6.0.7 */ #ifndef CREATE_SYSCALL_TABLE @@ -21,6 +21,9 @@ SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, #ifndef OVERRIDE_32_restart_syscall SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif +#ifndef OVERRIDE_32_fork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) +#endif #ifndef OVERRIDE_32_getpid SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif @@ -57,12 +60,21 @@ SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) #ifndef OVERRIDE_32_vhangup SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif +#ifndef OVERRIDE_32_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sigreturn) +#endif #ifndef OVERRIDE_32_munlockall SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif #ifndef OVERRIDE_32_sched_yield SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif +#ifndef OVERRIDE_32_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) +#endif +#ifndef OVERRIDE_32_vfork +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) +#endif #ifndef OVERRIDE_32_getuid SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif @@ -89,6 +101,13 @@ SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) ) #endif +#ifndef OVERRIDE_32_fork +SC_LTTNG_TRACEPOINT_EVENT(fork, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif #ifndef OVERRIDE_32_getpid SC_LTTNG_TRACEPOINT_EVENT(getpid, TP_PROTO(sc_exit(long ret)), @@ -173,6 +192,13 @@ SC_LTTNG_TRACEPOINT_EVENT(vhangup, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) ) #endif +#ifndef OVERRIDE_32_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(sigreturn, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif #ifndef OVERRIDE_32_munlockall SC_LTTNG_TRACEPOINT_EVENT(munlockall, TP_PROTO(sc_exit(long ret)), @@ -187,6 +213,20 @@ SC_LTTNG_TRACEPOINT_EVENT(sched_yield, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) ) #endif +#ifndef OVERRIDE_32_rt_sigreturn +SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vfork +SC_LTTNG_TRACEPOINT_EVENT(vfork, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif #ifndef OVERRIDE_32_getuid SC_LTTNG_TRACEPOINT_EVENT(getuid, TP_PROTO(sc_exit(long ret)), @@ -300,6 +340,13 @@ SC_LTTNG_TRACEPOINT_EVENT(ssetmask, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) ) #endif +#ifndef OVERRIDE_32_iopl +SC_LTTNG_TRACEPOINT_EVENT(iopl, + TP_PROTO(sc_exit(long ret,) unsigned int level), + TP_ARGS(sc_exit(ret,) level), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) +) +#endif #ifndef OVERRIDE_32_fsync SC_LTTNG_TRACEPOINT_EVENT(fsync, TP_PROTO(sc_exit(long ret,) unsigned int fd), @@ -482,6 +529,20 @@ SC_LTTNG_TRACEPOINT_EVENT(syncfs, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) ) #endif +#ifndef OVERRIDE_32_userfaultfd +SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_memfd_secret +SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, + TP_PROTO(sc_exit(long ret,) unsigned int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif #ifndef OVERRIDE_32_kill SC_LTTNG_TRACEPOINT_EVENT(kill, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), @@ -540,9 +601,9 @@ SC_LTTNG_TRACEPOINT_EVENT(ftruncate, #endif #ifndef OVERRIDE_32_fchmod SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), + 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(mode_t, mode, 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 @@ -552,13 +613,6 @@ SC_LTTNG_TRACEPOINT_EVENT(getpriority, 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), @@ -638,16 +692,58 @@ SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, #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))) + TP_PROTO(sc_exit(long ret,) int fd, int flags), + TP_ARGS(sc_exit(ret,) fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_32_arch_prctl +SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_32_pidfd_open +SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_process_mrelease +SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, + TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) ) #endif #ifndef OVERRIDE_32_lseek SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) + 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 @@ -664,6 +760,13 @@ SC_LTTNG_TRACEPOINT_EVENT(fcntl, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) ) #endif +#ifndef OVERRIDE_32_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), + TP_ARGS(sc_exit(ret,) unused1, unused2, mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) +) +#endif #ifndef OVERRIDE_32_fchown16 SC_LTTNG_TRACEPOINT_EVENT(fchown16, TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), @@ -678,6 +781,13 @@ SC_LTTNG_TRACEPOINT_EVENT(setpriority, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) ) #endif +#ifndef OVERRIDE_32_ioperm +SC_LTTNG_TRACEPOINT_EVENT(ioperm, + TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), + TP_ARGS(sc_exit(ret,) from, num, turn_on), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) +) +#endif #ifndef OVERRIDE_32_mprotect SC_LTTNG_TRACEPOINT_EVENT(mprotect, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), @@ -713,6 +823,13 @@ SC_LTTNG_TRACEPOINT_EVENT(setresgid16, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) ) #endif +#ifndef OVERRIDE_32_ia32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_low, unsigned long offset_high), + TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) +) +#endif #ifndef OVERRIDE_32_fchown SC_LTTNG_TRACEPOINT_EVENT(fchown, TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), @@ -769,6 +886,62 @@ SC_LTTNG_TRACEPOINT_EVENT(dup3, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) ) #endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol))) +) +#endif +#ifndef OVERRIDE_32_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), + TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) +) +#endif +#ifndef OVERRIDE_32_mlock2 +SC_LTTNG_TRACEPOINT_EVENT(mlock2, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) +) +#endif +#ifndef OVERRIDE_32_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_32_fsmount +SC_LTTNG_TRACEPOINT_EVENT(fsmount, + TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), + TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) +) +#endif +#ifndef OVERRIDE_32_close_range +SC_LTTNG_TRACEPOINT_EVENT(close_range, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, max_fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_pidfd_getfd +SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, + TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), + TP_ARGS(sc_exit(ret,) pidfd, fd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif #ifndef OVERRIDE_32_ptrace SC_LTTNG_TRACEPOINT_EVENT(ptrace, TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), @@ -776,6 +949,13 @@ SC_LTTNG_TRACEPOINT_EVENT(ptrace, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) ) #endif +#ifndef OVERRIDE_32_ia32_readahead +SC_LTTNG_TRACEPOINT_EVENT(ia32_readahead, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_lo, unsigned int off_hi, size_t count), + TP_ARGS(sc_exit(ret,) fd, off_lo, off_hi, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_lo, off_lo)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(size_t, count, count))) +) +#endif #ifndef OVERRIDE_32_tee SC_LTTNG_TRACEPOINT_EVENT(tee, TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), @@ -783,6 +963,13 @@ SC_LTTNG_TRACEPOINT_EVENT(tee, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) ) #endif +#ifndef OVERRIDE_32_semctl +SC_LTTNG_TRACEPOINT_EVENT(semctl, + TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif #ifndef OVERRIDE_32_mremap SC_LTTNG_TRACEPOINT_EVENT(mremap, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), @@ -797,6 +984,13 @@ SC_LTTNG_TRACEPOINT_EVENT(prctl, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) ) #endif +#ifndef OVERRIDE_32_ia32_fadvise64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset_lo, offset_hi, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif #ifndef OVERRIDE_32_remap_file_pages SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), @@ -811,6 +1005,13 @@ SC_LTTNG_TRACEPOINT_EVENT(keyctl, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) ) #endif +#ifndef OVERRIDE_32_kcmp +SC_LTTNG_TRACEPOINT_EVENT(kcmp, + TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), + TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) +) +#endif #ifndef OVERRIDE_32_mmap_pgoff SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), @@ -818,6 +1019,27 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) ) #endif +#ifndef OVERRIDE_32_ia32_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice), + TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, len_low, len_high, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(__u32, offset_low, offset_low)) sc_inout(ctf_integer(__u32, offset_high, offset_high)) sc_inout(ctf_integer(__u32, len_low, len_low)) sc_inout(ctf_integer(__u32, len_high, len_high)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_32_ia32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(ia32_sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags), + TP_ARGS(sc_exit(ret,) fd, off_low, off_hi, n_low, n_hi, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_low, off_low)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(unsigned int, n_low, n_low)) sc_inout(ctf_integer(unsigned int, n_hi, n_hi)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ia32_fallocate +SC_LTTNG_TRACEPOINT_EVENT(ia32_fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi), + TP_ARGS(sc_exit(ret,) fd, mode, offset_lo, offset_hi, len_lo, len_hi), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(int, mode, mode)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(unsigned int, len_lo, len_lo)) sc_inout(ctf_integer(unsigned int, len_hi, len_hi))) +) +#endif #endif /* _TRACE_SYSCALLS_INTEGERS_H */ @@ -833,6 +1055,9 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, #ifndef OVERRIDE_TABLE_32_restart_syscall TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) #endif +#ifndef OVERRIDE_TABLE_32_fork +TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 0) +#endif #ifndef OVERRIDE_TABLE_32_getpid TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) #endif @@ -869,12 +1094,21 @@ TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) #ifndef OVERRIDE_TABLE_32_vhangup TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) #endif +#ifndef OVERRIDE_TABLE_32_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, sigreturn, 119, 0) +#endif #ifndef OVERRIDE_TABLE_32_munlockall TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) #endif #ifndef OVERRIDE_TABLE_32_sched_yield TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) #endif +#ifndef OVERRIDE_TABLE_32_rt_sigreturn +TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vfork +TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 0) +#endif #ifndef OVERRIDE_TABLE_32_getuid TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) #endif @@ -897,6 +1131,9 @@ TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) #ifndef OVERRIDE_TABLE_32_restart_syscall TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) #endif +#ifndef OVERRIDE_TABLE_32_fork +TRACE_SYSCALL_TABLE(fork, fork, 2, 0) +#endif #ifndef OVERRIDE_TABLE_32_getpid TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) #endif @@ -933,12 +1170,21 @@ TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) #ifndef OVERRIDE_TABLE_32_vhangup TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) #endif +#ifndef OVERRIDE_TABLE_32_sigreturn +TRACE_SYSCALL_TABLE(sigreturn, sigreturn, 119, 0) +#endif #ifndef OVERRIDE_TABLE_32_munlockall TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) #endif #ifndef OVERRIDE_TABLE_32_sched_yield TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) #endif +#ifndef OVERRIDE_TABLE_32_rt_sigreturn +TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vfork +TRACE_SYSCALL_TABLE(vfork, vfork, 190, 0) +#endif #ifndef OVERRIDE_TABLE_32_getuid TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) #endif @@ -1018,6 +1264,9 @@ TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) #ifndef OVERRIDE_TABLE_32_setregid16 TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) #endif +#ifndef OVERRIDE_TABLE_32_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) +#endif #ifndef OVERRIDE_TABLE_32_munmap TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) #endif @@ -1036,6 +1285,12 @@ TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) #ifndef OVERRIDE_TABLE_32_setpriority TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) #endif +#ifndef OVERRIDE_TABLE_32_ioperm +TRACE_SYSCALL_TABLE(ioperm, ioperm, 101, 3) +#endif +#ifndef OVERRIDE_TABLE_32_iopl +TRACE_SYSCALL_TABLE(iopl, iopl, 110, 1) +#endif #ifndef OVERRIDE_TABLE_32_fsync TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) #endif @@ -1048,9 +1303,6 @@ TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) #ifndef OVERRIDE_TABLE_32_fchdir TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) #endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) -#endif #ifndef OVERRIDE_TABLE_32_sysfs TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) #endif @@ -1108,6 +1360,9 @@ TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) #ifndef OVERRIDE_TABLE_32_mmap_pgoff TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) #endif +#ifndef OVERRIDE_TABLE_32_ia32_ftruncate64 +TRACE_SYSCALL_TABLE(ia32_ftruncate64, ia32_ftruncate64, 194, 3) +#endif #ifndef OVERRIDE_TABLE_32_setreuid TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) #endif @@ -1141,12 +1396,18 @@ TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) #ifndef OVERRIDE_TABLE_32_fcntl64 TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) #endif +#ifndef OVERRIDE_TABLE_32_ia32_readahead +TRACE_SYSCALL_TABLE(ia32_readahead, ia32_readahead, 225, 4) +#endif #ifndef OVERRIDE_TABLE_32_tkill TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) #endif #ifndef OVERRIDE_TABLE_32_io_destroy TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) #endif +#ifndef OVERRIDE_TABLE_32_ia32_fadvise64 +TRACE_SYSCALL_TABLE(ia32_fadvise64, ia32_fadvise64, 250, 5) +#endif #ifndef OVERRIDE_TABLE_32_exit_group TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) #endif @@ -1165,6 +1426,9 @@ TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) #ifndef OVERRIDE_TABLE_32_tgkill TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) #endif +#ifndef OVERRIDE_TABLE_32_ia32_fadvise64_64 +TRACE_SYSCALL_TABLE(ia32_fadvise64_64, ia32_fadvise64_64, 272, 6) +#endif #ifndef OVERRIDE_TABLE_32_keyctl TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) #endif @@ -1180,6 +1444,9 @@ TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) #ifndef OVERRIDE_TABLE_32_unshare TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) #endif +#ifndef OVERRIDE_TABLE_32_ia32_sync_file_range +TRACE_SYSCALL_TABLE(ia32_sync_file_range, ia32_sync_file_range, 314, 6) +#endif #ifndef OVERRIDE_TABLE_32_tee TRACE_SYSCALL_TABLE(tee, tee, 315, 4) #endif @@ -1189,6 +1456,9 @@ TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) #ifndef OVERRIDE_TABLE_32_eventfd TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) #endif +#ifndef OVERRIDE_TABLE_32_ia32_fallocate +TRACE_SYSCALL_TABLE(ia32_fallocate, ia32_fallocate, 324, 6) +#endif #ifndef OVERRIDE_TABLE_32_eventfd2 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) #endif @@ -1210,5 +1480,59 @@ TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) #ifndef OVERRIDE_TABLE_32_setns TRACE_SYSCALL_TABLE(setns, setns, 346, 2) #endif +#ifndef OVERRIDE_TABLE_32_kcmp +TRACE_SYSCALL_TABLE(kcmp, kcmp, 349, 5) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 359, 3) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 363, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 373, 2) +#endif +#ifndef OVERRIDE_TABLE_32_userfaultfd +TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 374, 1) +#endif +#ifndef OVERRIDE_TABLE_32_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 375, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 376, 3) +#endif +#ifndef OVERRIDE_TABLE_32_arch_prctl +TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 384, 2) +#endif +#ifndef OVERRIDE_TABLE_32_semget +TRACE_SYSCALL_TABLE(semget, semget, 393, 3) +#endif +#ifndef OVERRIDE_TABLE_32_semctl +TRACE_SYSCALL_TABLE(semctl, semctl, 394, 4) +#endif +#ifndef OVERRIDE_TABLE_32_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 395, 3) +#endif +#ifndef OVERRIDE_TABLE_32_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 399, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fsmount +TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_open +TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) +#endif +#ifndef OVERRIDE_TABLE_32_close_range +TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pidfd_getfd +TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_secret +TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) +#endif +#ifndef OVERRIDE_TABLE_32_process_mrelease +TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) +#endif #endif /* CREATE_SYSCALL_TABLE */