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. --- stapfuncs.5.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'stapfuncs.5.in') diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 72d048eb..806a0906 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -26,18 +26,19 @@ and take no parameters. .SS LOGGING .TP -printk:unknown (msg:string) -Log the given string to the kernel's printk buffer, at KERN_INFO severity. -Append an implicit end-of-line. +log:unknown (msg:string) +Log the given string to the common trace buffer. Append an implicit +end-of-line. .TP print:unknown (msg:string) -Print the given string to the common trace buffer. +print:unknown (k:long) +Print the given integer or string to the common trace buffer. .TP -log:unknown (msg:string) -Log the given string to the common trace buffer. Append an implicit -end-of-line. +printf:unknown (fmt:string, ...) +Like the C printf, except valid types are limited to string ("%s") +and integer ("%d"). .TP warn:unknown (msg:string) -- cgit