Debian Codegraph @

tapset/linux/powerpc/sysc_sys64_time.stp

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