summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/ioblocktest.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
commit055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch)
tree5c51849d470c1ff74162fbeb6be56f190d524daf /testsuite/systemtap.samples/ioblocktest.stp
parent3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff)
parentf781f849ceedba83580eead82c3baf949a9738db (diff)
downloadsystemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.gz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.xz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.samples/ioblocktest.stp')
-rw-r--r--testsuite/systemtap.samples/ioblocktest.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.samples/ioblocktest.stp b/testsuite/systemtap.samples/ioblocktest.stp
index 4aa3c3a9..f8a1c568 100644
--- a/testsuite/systemtap.samples/ioblocktest.stp
+++ b/testsuite/systemtap.samples/ioblocktest.stp
@@ -1,12 +1,12 @@
#! stap
global teststr
-probe begin { log("systemtap starting probe") }
+probe begin { println("systemtap starting probe") }
probe ioblock.request, ioblock.end {
teststr = sprintf("ioblock: %s\t%d\t%s\t%d\n", devname, sector,
bio_rw_str(rw), bio_rw_num(rw))
}
probe end {
- log("systemtap ending probe")
+ println("systemtap ending probe")
printf("%s", teststr)
}