diff options
author | hunt <hunt> | 2005-11-18 21:57:30 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-11-18 21:57:30 +0000 |
commit | b1f3e72e9fb1f41b0dbb5be20506e375fcf89561 (patch) | |
tree | d6ddcc2b52307f5b0c8e8a143311b17aa114a82f /testsuite/transok | |
parent | d02548c0925a02dd0af64a9dc13cce9e84d87b4f (diff) | |
download | systemtap-steved-b1f3e72e9fb1f41b0dbb5be20506e375fcf89561.tar.gz systemtap-steved-b1f3e72e9fb1f41b0dbb5be20506e375fcf89561.tar.xz systemtap-steved-b1f3e72e9fb1f41b0dbb5be20506e375fcf89561.zip |
2005-11-18 Martin Hunt <hunt@redhat.com>
PR 1837
* testsuite/buildko/one.stp: Replace printk.
* testsuite/buildok/one.stp: Ditto.
* testsuite/buildok/two.stp: Ditto.
* testsuite/semko/fifteen.stp: Ditto.
* testsuite/semko/fourteen.stp: Ditto.
* testsuite/semko/thirteen.stp: Ditto.
* testsuite/transok/eight.stp: Ditto.
* testsuite/transok/seven.stp: Ditto.
* testsuite/transok/six.stp: Ditto.
* tapsets.cxx (*::emit_probe_entries): Replace printk() calls
with _stp_warn().
* stap.1.in: Replace printk with printf in example.
* stapfuncs.5.in: Remove docs for printk and add for
print and printf.
* tapset/logging.stp (printk): Deleted.
Diffstat (limited to 'testsuite/transok')
-rwxr-xr-x | testsuite/transok/eight.stp | 4 | ||||
-rwxr-xr-x | testsuite/transok/seven.stp | 2 | ||||
-rwxr-xr-x | testsuite/transok/six.stp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/transok/eight.stp b/testsuite/transok/eight.stp index e703a5ae..6723b993 100755 --- a/testsuite/transok/eight.stp +++ b/testsuite/transok/eight.stp @@ -21,10 +21,10 @@ probe begin foreach ([x,y,z] in baz) { - printk(baz[x,y,z] . y) + log(baz[x,y,z] . y) } - printk("hello from systemtap") + log("hello from systemtap") } diff --git a/testsuite/transok/seven.stp b/testsuite/transok/seven.stp index 0c0e00d7..7471e9e8 100755 --- a/testsuite/transok/seven.stp +++ b/testsuite/transok/seven.stp @@ -13,7 +13,7 @@ probe begin ++foo["hello"] x = foo["hello"] foo["yo"] *= bar[x, foo["hello"], "goodbye"]++; - printk("hello from systemtap") + log("hello from systemtap") } diff --git a/testsuite/transok/six.stp b/testsuite/transok/six.stp index 8684107e..0b3bdccf 100755 --- a/testsuite/transok/six.stp +++ b/testsuite/transok/six.stp @@ -2,7 +2,7 @@ probe begin { - printk("kernel time") + print("kernel time\n") log("hello there") warn("this is a builtin") } |