/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_compat_execve.stp (1631B)
%( kernel_v < "3.7" %? # execve _____________________________________________________ # # asmlinkage long sys32_execve(char __user *name, compat_uptr_t __user *argv, # compat_uptr_t __user *envp, struct pt_regs *regs) @define _SYSCALL_COMPAT_EXECVE_NAME %( name = "execve" %) @define _SYSCALL_COMPAT_EXECVE_ARGSTR %( argstr = sprintf("%s, %s, %s", filename, args, env_str) %) probe syscall.compat_execve = dw_syscall.compat_execve !, nd_syscall.compat_execve ? {} probe syscall.compat_execve.return = dw_syscall.compat_execve.return !, nd_syscall.compat_execve.return ? {} # dw_compat_execve _____________________________________________________ probe dw_syscall.compat_execve = kernel.function("sys32_execve").call ? { @_SYSCALL_COMPAT_EXECVE_NAME filename = user_string_quoted($name) args = __get_compat_argv($argv, 0) env_str = __get_compat_argv($envp, 0) @_SYSCALL_COMPAT_EXECVE_ARGSTR } probe dw_syscall.compat_execve.return = kernel.function("sys32_execve").return ? { @_SYSCALL_COMPAT_EXECVE_NAME @SYSC_RETVALSTR($return) } # nd_compat_execve _____________________________________________________ probe nd_syscall.compat_execve = kprobe.function("sys32_execve") ? { asmlinkage() @_SYSCALL_COMPAT_EXECVE_NAME filename = user_string_quoted(pointer_arg(1)) args = __get_compat_argv(pointer_arg(2), 0) env_str = __get_compat_argv(pointer_arg(3), 0) @_SYSCALL_COMPAT_EXECVE_ARGSTR } probe nd_syscall.compat_execve.return = kprobe.function("sys32_execve").return ? { @_SYSCALL_COMPAT_EXECVE_NAME @SYSC_RETVALSTR(returnval()) } %)