summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/global_init.stp
diff options
context:
space:
mode:
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)
}