summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/global_init.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
commit055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch)
tree5c51849d470c1ff74162fbeb6be56f190d524daf /testsuite/systemtap.base/global_init.stp
parent3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff)
parentf781f849ceedba83580eead82c3baf949a9738db (diff)
downloadsystemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.gz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.xz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.base/global_init.stp')
-rw-r--r--testsuite/systemtap.base/global_init.stp8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/systemtap.base/global_init.stp b/testsuite/systemtap.base/global_init.stp
index a5d7e58e..30478846 100644
--- a/testsuite/systemtap.base/global_init.stp
+++ b/testsuite/systemtap.base/global_init.stp
@@ -4,8 +4,8 @@
* Check that global variables are initialized before all begin probes
*/
-probe begin { log("systemtap starting probe") }
-probe end { log("systemtap ending probe") }
+probe begin { println("systemtap starting probe") }
+probe end { println("systemtap ending probe") }
global gnum = 42
global gstr = "foobar"
@@ -19,12 +19,12 @@ probe begin(-9223372036854775808) {
probe end {
if (gnum_saved == 42)
- log("systemtap test success")
+ println("systemtap test success")
else
printf("systemtap test failure - gnum_saved:%d != 42\n", gnum_saved)
if (gstr_saved == "foobar")
- log("systemtap test success")
+ println("systemtap test success")
else
printf("systemtap test failure - gstr_saved:%s != foobar\n", gstr_saved)
}