/usr/share/systemtap/tapset/linux/x86_64
NameSizeModeActions
aux_syscalls.stp36650644editdlrm
syscall_num.stp656580644editdlrm
sysc_arch_prctl.stp35940644editdlrm
sysc_compat_execve.stp16310644editdlrm
sysc_compat_fadvise64.stp80990644editdlrm
sysc_compat_fallocate.stp41590644editdlrm
sysc_compat_ftruncate64.stp37550644editdlrm
sysc_compat_lookup_dcookie.stp42720644editdlrm
sysc_compat_readahead.stp36920644editdlrm
sysc_compat_truncate64.stp40850644editdlrm
sysc_execve.stp16550644editdlrm
sysc_get_thread_area.stp35550644editdlrm
sysc_iopl.stp25710644editdlrm
sysc_mmap.stp41360644editdlrm
sysc_mmap2.stp26830644editdlrm
sysc_pipe32.stp15720644editdlrm
sysc_set_thread_area.stp34990644editdlrm
sysc_sigaltstack.stp22960644editdlrm
sysc_sysctl32.stp11430644editdlrm
sysc_vm86_warning.stp12000644editdlrm
Edit: /usr/share/systemtap/tapset/linux/x86_64/sysc_pipe32.stp (1572B)
# pipe _______________________________________________________ # # long sys32_pipe(int __user *fd) # Not available in newer kernels. @define _SYSCALL_PIPE32_NAME %( name = "pipe" %) probe syscall.pipe32 = dw_syscall.pipe32 !, nd_syscall.pipe32 ? {} probe syscall.pipe32.return = dw_syscall.pipe32.return !, nd_syscall.pipe32.return ? {} # dw_pipe32 _____________________________________________________ probe dw_syscall.pipe32 = kernel.function("sys32_pipe")? { @_SYSCALL_PIPE32_NAME flags = 0; flag_str = "" if (@defined($fd)) { fildes_uaddr = $fd if (fildes_uaddr == 0) { pipe0 = 0; pipe1 = 0; argstr = "NULL" } else { pipe0 = user_int(&$fd[0]); pipe1 = user_int(&$fd[1]); argstr = sprintf("[%d, %d]", pipe0, pipe1); } } else { fildes_uaddr = 0; pipe0 = 0; pipe1 = 0; argstr = "[0, 0]"; } } probe dw_syscall.pipe32.return = kernel.function("sys32_pipe").return? { @_SYSCALL_PIPE32_NAME flags = 0; if (@defined(@entry($fd))) { fildes_uaddr = @entry($fd) if (fildes_uaddr == 0) { pipe0 = 0; pipe1 = 0; } else { pipe0 = @entry(user_int(&$fd[0])); pipe1 = @entry(user_int(&$fd[1])); } } else { fildes_uaddr = 0; pipe0 = 0; pipe1 = 0; } @SYSC_RETVALSTR($return) } # nd_pipe32 _____________________________________________________ probe nd_syscall.pipe32 = kprobe.function("sys32_pipe")? { @_SYSCALL_PIPE32_NAME asmlinkage() argstr = sprintf("%p", pointer_arg(1)) } probe nd_syscall.pipe32.return = kprobe.function("sys32_pipe").return? { @_SYSCALL_PIPE32_NAME @SYSC_RETVALSTR(returnval()) }