Debian Codegraph @

tapset/linux/powerpc/sysc_ppc64_sys32_stime.stp

raw
1 # ppc64_sys32_stime ________________________________________
2 #
3 # long ppc64_sys32_stime(int __user * tptr)
4 #
5
6 @define _SYSCALL_PPC64_SYS32_STIME_NAME
7 %(
8 name = "ppc64_sys32_stime"
9 %)
10
11 @define _SYSCALL_PPC64_SYS32_STIME_ARGSTR
12 %(
13 argstr = sprintf("%p", t_uaddr)
14 %)
15
16 probe syscall.ppc64_sys32_stime = dw_syscall.ppc64_sys32_stime !,
17 nd_syscall.ppc64_sys32_stime ? {}
18 probe syscall.ppc64_sys32_stime.return = dw_syscall.ppc64_sys32_stime.return !,
19 nd_syscall.ppc64_sys32_stime.return ? {}
20
21 # dw_ppc64_sys32_stime _____________________________________________________
22
23 probe dw_syscall.ppc64_sys32_stime = kernel.function("ppc64_sys32_stime") ?
24 {
25 @_SYSCALL_PPC64_SYS32_STIME_NAME
26 t_uaddr = $tptr
27 @_SYSCALL_PPC64_SYS32_STIME_ARGSTR
28 }
29 probe dw_syscall.ppc64_sys32_stime.return = kernel.function("ppc64_sys32_stime").return ?
30 {
31 @_SYSCALL_PPC64_SYS32_STIME_NAME
32 @SYSC_RETVALSTR($return)
33 }
34
35 # nd_ppc64_sys32_stime _____________________________________________________
36
37 probe nd_syscall.ppc64_sys32_stime = kprobe.function("ppc64_sys32_stime") ?
38 {
39 @_SYSCALL_PPC64_SYS32_STIME_NAME
40 asmlinkage()
41 t_uaddr = pointer_arg(1)
42 @_SYSCALL_PPC64_SYS32_STIME_ARGSTR
43 }
44 probe nd_syscall.ppc64_sys32_stime.return = kprobe.function("ppc64_sys32_stime").return ?
45 {
46 @_SYSCALL_PPC64_SYS32_STIME_NAME
47 @SYSC_RETVALSTR(returnval())
48 }