Debian Codegraph @

tapset/linux/powerpc/sysc_ppc64_sys_stime.stp

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