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.stress/current.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.stress/current.stp')
-rw-r--r-- | testsuite/systemtap.stress/current.stp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/systemtap.stress/current.stp b/testsuite/systemtap.stress/current.stp index ff2a9941..4c0f824c 100644 --- a/testsuite/systemtap.stress/current.stp +++ b/testsuite/systemtap.stress/current.stp @@ -14,7 +14,7 @@ function pcommlen:long () %{ THIS->__retvalue = strlen(current->parent->comm); %} -probe begin { log("systemtap starting probe") } +probe begin { println("systemtap starting probe") } probe timer.profile, @@ -73,7 +73,7 @@ function get_TASK_COMM_LEN:long() %{ %} probe end { - log("systemtap ending probe") + println("systemtap ending probe") printf("count = %d\n", @count(length)) printf("sum = %d\n", @sum(length)) printf("min = %d\n", @min(length)) @@ -86,15 +86,15 @@ probe end { * valid, even though it dereferenced without crashing. */ if (@min(length) > 0) { - log("systemtap test success") + println("systemtap test success") } else { - log("unexpected minimum length") - log("systemtap test failure") + println("unexpected minimum length") + println("systemtap test failure") } if (@max(length) < get_TASK_COMM_LEN()) { - log("systemtap test success") + println("systemtap test success") } else { - log("unexpected maximum length") - log("systemtap test failure") + println("unexpected maximum length") + println("systemtap test failure") } } |