HEX
Server: nginx/1.29.3
System: Linux 11979.bigscoots-wpo.com 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: nginx (1068)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_open,proc_close,popen,show_source,cmd# Do not modify this line # 1684243876
Upload Files
File: //usr/share/systemtap/tapset/linux/sysc_rt_sigreturn.stp
# rt_sigreturn _______________________________________________
# int sys_rt_sigreturn(unsigned long __unused)
#

@define _SYSCALL_RT_SIGRETURN_NAME
%(
	name = "rt_sigreturn"
%)

@define _SYSCALL_RT_SIGRETURN_ARGSTR
%(
	argstr = ""
%)

probe syscall.rt_sigreturn = dw_syscall.rt_sigreturn !, nd_syscall.rt_sigreturn ? {}
probe syscall.rt_sigreturn.return = dw_syscall.rt_sigreturn.return !,
                                    nd_syscall.rt_sigreturn.return ? {}

# dw_rt_sigreturn _____________________________________________________

probe dw_syscall.rt_sigreturn = kernel.function("ia64_rt_sigreturn").call !,
			     kernel.function("sys_rt_sigreturn").call ?,
                             kernel.function("sys32_rt_sigreturn").call ?
{
	@_SYSCALL_RT_SIGRETURN_NAME
	@_SYSCALL_RT_SIGRETURN_ARGSTR
}
probe dw_syscall.rt_sigreturn.return =
	kernel.function("ia64_rt_sigreturn").return !,
	kernel.function("sys_rt_sigreturn").return ?,
	kernel.function("sys32_rt_sigreturn").return ?
{
	@_SYSCALL_RT_SIGRETURN_NAME
%( arch == "mips" %?
	retstr = "void"
%:
	@SYSC_RETVALSTR($return)
%)
}

# nd_rt_sigreturn _____________________________________________________

probe nd_syscall.rt_sigreturn = kprobe.function("ia64_rt_sigreturn").call !,
	kprobe.function("sys_rt_sigreturn").call ?,
	kprobe.function("sys32_rt_sigreturn").call ?
{
	@_SYSCALL_RT_SIGRETURN_NAME
	@_SYSCALL_RT_SIGRETURN_ARGSTR
}
probe nd_syscall.rt_sigreturn.return =
	kprobe.function("ia64_rt_sigreturn").return !,
	kprobe.function("sys_rt_sigreturn").return ?,
	kprobe.function("sys32_rt_sigreturn").return ?
{
	@_SYSCALL_RT_SIGRETURN_NAME
	@SYSC_RETVALSTR(returnval())
}