summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls.stp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-22 15:27:56 -0700
committerJosh Stone <jistone@redhat.com>2009-05-22 15:27:56 -0700
commitdec6cf8fd4da55ac0fd4c711b3eebc48ee9eda75 (patch)
tree7e482c46d68c66c529313affa9e46bffa1607986 /tapset/syscalls.stp
parent29d0edebd429185b88ff9c476eb4fba4396b5f63 (diff)
downloadsystemtap-steved-dec6cf8fd4da55ac0fd4c711b3eebc48ee9eda75.tar.gz
systemtap-steved-dec6cf8fd4da55ac0fd4c711b3eebc48ee9eda75.tar.xz
systemtap-steved-dec6cf8fd4da55ac0fd4c711b3eebc48ee9eda75.zip
Move the "pure" tag into the body of __is_user_regs
The "/* pure */" tag has no effect unless it is within the embedded-C body of a function. In this instance, they were accidentally moved out during the syscall cleanups.
Diffstat (limited to 'tapset/syscalls.stp')
-rw-r--r--tapset/syscalls.stp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/syscalls.stp b/tapset/syscalls.stp
index 3a34c91b..0886deeb 100644
--- a/tapset/syscalls.stp
+++ b/tapset/syscalls.stp
@@ -1060,8 +1060,9 @@ probe syscall.flock.return = kernel.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__)