From dda823f922ac7294cd24eeb4b1bb7436af24c8c7 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 12 Nov 2007 22:04:35 +0000 Subject: 2007-11-12 Martin Hunt * systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto. --- testsuite/systemtap.base/global_init.stp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.base/global_init.stp') 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) } -- cgit