|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/share/systemtap/tapset/linux/powerpc/ |
Upload File : |
# sys64_time ________________________________________
#
# time_t sys64_time(time_t __user * tloc)
#
@define _SYSCALL_SYS64_TIME_NAME
%(
name = "sys64_time"
%)
@define _SYSCALL_SYS64_TIME_ARGSTR
%(
argstr = sprintf("%p", tloc)
%)
probe syscall.sys64_time = dw_syscall.sys64_time !, nd_syscall.sys64_time ? {}
probe syscall.sys64_time.return = dw_syscall.sys64_time.return !, nd_syscall.sys64_time.return ? {}
# dw_sys64_time _____________________________________________________
probe dw_syscall.sys64_time = kernel.function("sys64_time") ?
{
@_SYSCALL_SYS64_TIME_NAME
tloc = $tloc
@_SYSCALL_SYS64_TIME_ARGSTR
}
probe dw_syscall.sys64_time.return = kernel.function("sys64_time").return ?
{
@_SYSCALL_SYS64_TIME_NAME
@SYSC_RETVALSTR($return)
}
# nd_sys64_time _____________________________________________________
probe nd_syscall.sys64_time = kprobe.function("sys64_time") ?
{
@_SYSCALL_SYS64_TIME_NAME
asmlinkage()
tloc = pointer_arg(1)
@_SYSCALL_SYS64_TIME_ARGSTR
}
probe nd_syscall.sys64_time.return = kprobe.function("sys64_time").return ?
{
@_SYSCALL_SYS64_TIME_NAME
@SYSC_RETVALSTR(returnval())
}