From 450718c9c424bce67e8580183788380431f90434 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 23 Sep 2009 07:41:47 -0400 Subject: PR10390: ftrace() tapset function * tapset/logging.stp (ftrace): New function. (*): Add kerneldoc to other functions. * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Process logging.stp. * stapfuncs.3stap.in: Remove "LOGGING" section, now redundant. * runtime/autoconf-trace-printk.c: New autoconf test. * buildrun.cxx (compile_pass): Build it. * NEWS: Mention it. * testsuite/buildok/logging.stp: Test it. --- stapfuncs.3stap.in | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'stapfuncs.3stap.in') diff --git a/stapfuncs.3stap.in b/stapfuncs.3stap.in index 3d88b2ea..48018b41 100644 --- a/stapfuncs.3stap.in +++ b/stapfuncs.3stap.in @@ -23,36 +23,6 @@ example2:unknown () In function "example2", do something. There is no explicit return value and take no parameters. -.SS PRINTING - -.TP -log:unknown (msg:string) -Writes the given string to the common trace buffer. Append an implicit -end-of-line. Deprecated. Please use the faster print functions. - -.TP -warn:unknown (msg:string) -Write the given string to the warning stream. Append an implicit end-of-line. -.I staprun -prepends the string "WARNING:". - -.TP -error:unknown (msg:string) -An error has occurred. Write the given string to the error stream. -Append an implicit end-of-line. -.I staprun -prepends the string "ERROR:". -Block any further execution of statements in this probe. If the number -of errors so far exceeds the MAXERRORS parameter, also trigger an -.IR exit() . - -.TP -exit:unknown () -Enqueue a request to shut down the systemtap session. This does -.B not -unwind the current probe handler, nor block new probe handlers. -.I staprun -will shortly respond to the request and initiate an orderly shutdown. .SS CONVERSIONS .PP -- cgit