summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps
diff options
context:
space:
mode:
authorhunt <hunt>2007-11-12 22:04:35 +0000
committerhunt <hunt>2007-11-12 22:04:35 +0000
commitdda823f922ac7294cd24eeb4b1bb7436af24c8c7 (patch)
treebf8a4507dda929f48b1ad31e216b5694e1e99384 /testsuite/systemtap.maps
parenteddde980ee23baef42edb992da5cb977ba6b4c0c (diff)
downloadsystemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.gz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.xz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.zip
2007-11-12 Martin Hunt <hunt@redhat.com>
* 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.
Diffstat (limited to 'testsuite/systemtap.maps')
-rw-r--r--testsuite/systemtap.maps/absentstats.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.maps/absentstats.stp b/testsuite/systemtap.maps/absentstats.stp
index 641af5d3..aeb176a1 100644
--- a/testsuite/systemtap.maps/absentstats.stp
+++ b/testsuite/systemtap.maps/absentstats.stp
@@ -1,7 +1,7 @@
# stap -DMAXERRORS=40
global sc
-probe begin { log(sprint(@count(sc))) }
+probe begin { println(@count(sc)) }
probe begin { print(@sum(sc)) }
probe begin { print(@max(sc)) }
probe begin { print(@min(sc)) }
@@ -10,7 +10,7 @@ probe begin { print(@hist_log(sc)) }
probe begin { x=@hist_log(sc)[5]; print(x) }
global ry
-probe begin { log(sprint(@count(ry[4]))) }
+probe begin { println(@count(ry[4])) }
probe begin { print(@sum(ry[4])) }
probe begin { print(@max(ry[4])) }
probe begin { print(@min(ry[4])) }