From b1f3e72e9fb1f41b0dbb5be20506e375fcf89561 Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 18 Nov 2005 21:57:30 +0000 Subject: 2005-11-18 Martin Hunt 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. --- testsuite/transok/eight.stp | 4 ++-- testsuite/transok/seven.stp | 2 +- testsuite/transok/six.stp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/transok') 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") } -- cgit