diff options
author | hunt <hunt> | 2007-11-12 22:04:35 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-11-12 22:04:35 +0000 |
commit | dda823f922ac7294cd24eeb4b1bb7436af24c8c7 (patch) | |
tree | bf8a4507dda929f48b1ad31e216b5694e1e99384 /testsuite/systemtap.samples/ioblocktest.stp | |
parent | eddde980ee23baef42edb992da5cb977ba6b4c0c (diff) | |
download | systemtap-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.samples/ioblocktest.stp')
-rw-r--r-- | testsuite/systemtap.samples/ioblocktest.stp | 4 |
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) } |