summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/deref.stp
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.base/deref.stp
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.base/deref.stp')
-rw-r--r--testsuite/systemtap.base/deref.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.base/deref.stp b/testsuite/systemtap.base/deref.stp
index b003d657..3f76bfb6 100644
--- a/testsuite/systemtap.base/deref.stp
+++ b/testsuite/systemtap.base/deref.stp
@@ -4,8 +4,8 @@
* Check that the deref mechanisms work correctly.
*/
-probe begin { log("systemtap starting probe") }
-probe end { log("systemtap ending probe") }
+probe begin { println("systemtap starting probe") }
+probe end { println("systemtap ending probe") }
probe end(1) {
log_test("kread u8", kread_u8())
@@ -29,7 +29,7 @@ probe end(1) {
function log_test(test:string, result:long) {
if (result)
- log("systemtap test success")
+ println("systemtap test success")
else
printf("systemtap test failure - %s\n", test)
}