summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/sys.stp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-03 16:22:36 -0500
committerDave Brolley <brolley@redhat.com>2009-11-03 16:22:36 -0500
commit899b66209b0146560f0efc33efe58a4be3577df3 (patch)
tree7b64764b917c359a99d0adcf6c68a2d73cd52be7 /testsuite/systemtap.syscall/sys.stp
parentd4ad7984018ff769cbb662342be7e501632c0bea (diff)
parent89651893a8ec51ee4d77ddfd57019e350ad7b169 (diff)
downloadsystemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.tar.gz
systemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.tar.xz
systemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: Makefile.in configure doc/Makefile.in doc/SystemTap_Tapset_Reference/Makefile.in grapher/Makefile.in testsuite/configure
Diffstat (limited to 'testsuite/systemtap.syscall/sys.stp')
-rwxr-xr-xtestsuite/systemtap.syscall/sys.stp10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/systemtap.syscall/sys.stp b/testsuite/systemtap.syscall/sys.stp
index e3564a15..79c7ff57 100755
--- a/testsuite/systemtap.syscall/sys.stp
+++ b/testsuite/systemtap.syscall/sys.stp
@@ -1,4 +1,4 @@
-global indent, indent_str, entry
+global indent, indent_str, entry_p
probe begin {
indent = 0
@@ -13,22 +13,22 @@ probe begin {
probe syscall.* ? {
if (pid() == target()) {
- if (entry) printf("\n")
+ if (entry_p) printf("\n")
printf("%s%s: %s (%s) = ", indent_str[indent], execname(), name, argstr)
# printf("%s%s: %s (%s) = ", indent_str[indent], execname(), probefunc(), argstr)
indent++
- entry = 1
+ entry_p = 1
}
}
probe syscall.*.return ? {
if (pid() == target()) {
if (indent) indent--
- if (entry)
+ if (entry_p)
printf("%s\n", retstr)
else
printf("%s%s\n", indent_str[indent],retstr)
- entry = 0
+ entry_p = 0
}
}