diff options
Diffstat (limited to 'tapset/nd_syscalls.stp')
-rw-r--r-- | tapset/nd_syscalls.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/nd_syscalls.stp b/tapset/nd_syscalls.stp index 97374d9f..af145394 100644 --- a/tapset/nd_syscalls.stp +++ b/tapset/nd_syscalls.stp @@ -1210,8 +1210,9 @@ probe nd_syscall.flock.return = kprobe.function("sys_flock").return retstr = returnstr(1) } -function __is_user_regs:long (regs:long) /* pure */ +function __is_user_regs:long (regs:long) %{ + /* pure */ struct pt_regs * regs = (void *)((unsigned long)THIS->regs); /* copied from asm/ptrace.h */ #if defined(__i386__) |