|
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 : |
# compat_set_mempolicy ________________________________________
#
# asmlinkage long compat_set_mempolicy(int mode, compat_ulong_t __user *nmask,
# compat_ulong_t maxnode)
#
@define _SYSCALL_COMPAT_SET_MEMPOLICY_NAME
%(
name = "compat_set_mempolicy"
%)
@define _SYSCALL_COMPAT_SET_MEMPOLICY_ARGSTR
%(
argstr = sprintf("%d, %p, %d", policy, nodemask_uaddr, maxnode)
%)
probe syscall.compat_set_mempolicy = dw_syscall.compat_set_mempolicy !,
nd_syscall.compat_set_mempolicy ? {}
probe syscall.compat_set_mempolicy.return = dw_syscall.compat_set_mempolicy.return !,
nd_syscall.compat_set_mempolicy.return ? {}
# dw_compat_set_mempolicy _____________________________________________________
probe dw_syscall.compat_set_mempolicy = kernel.function("compat_set_mempolicy") ?
{
@_SYSCALL_COMPAT_SET_MEMPOLICY_NAME
policy = $mode
nodemask_uaddr = $nmask
maxnode = $maxnode
@_SYSCALL_COMPAT_SET_MEMPOLICY_ARGSTR
}
probe dw_syscall.compat_set_mempolicy.return = kernel.function("compat_set_mempolicy").return ?
{
@_SYSCALL_COMPAT_SET_MEMPOLICY_NAME
@SYSC_RETVALSTR($return)
}
# nd_compat_set_mempolicy _____________________________________________________
probe nd_syscall.compat_set_mempolicy = kprobe.function("compat_set_mempolicy") ?
{
@_SYSCALL_COMPAT_SET_MEMPOLICY_NAME
asmlinkage()
policy = int_arg(1)
nodemask_uaddr = uint_arg(2)
maxnode = uint_arg(3)
@_SYSCALL_COMPAT_SET_MEMPOLICY_ARGSTR
}
probe nd_syscall.compat_set_mempolicy.return = kprobe.function("compat_set_mempolicy").return ?
{
@_SYSCALL_COMPAT_SET_MEMPOLICY_NAME
@SYSC_RETVALSTR(returnval())
}