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.samples/arith.stp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.samples/arith.stp') diff --git a/testsuite/systemtap.samples/arith.stp b/testsuite/systemtap.samples/arith.stp index 80f0c040..59016dcb 100644 --- a/testsuite/systemtap.samples/arith.stp +++ b/testsuite/systemtap.samples/arith.stp @@ -8,7 +8,7 @@ function test (v,n1,n2) { failures ++ result = "fail" } - log ("test " . (sprint (++testno)) . " [" . v . "]\t" . result) + println ("test " . (sprint (++testno)) . " [" . v . "]\t" . result) } function stest (v,n1,n2) { @@ -19,7 +19,7 @@ function stest (v,n1,n2) { failures ++ result = "fail" } - log ("test " . (sprint (++testno)) . " [" . v . "]\t" . result) + println ("test " . (sprint (++testno)) . " [" . v . "]\t" . result) } @@ -75,5 +75,5 @@ probe timer.jiffies(1) { # some time after all the begin probes } probe end { - log ("passes: " . sprint(passes) . " failures: " . sprint(failures)) + printf ("passes: %d failures: %d\n", passes, failures) } -- cgit