summaryrefslogtreecommitdiffstats
path: root/stapfuncs.3stap.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-23 07:41:47 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-23 07:41:47 -0400
commit450718c9c424bce67e8580183788380431f90434 (patch)
tree8b91626b7f54d4522d39fd8178dbeba80b2a415d /stapfuncs.3stap.in
parent6a7aa1a180807e49cfeeccdb0eb460b41092a229 (diff)
downloadsystemtap-steved-450718c9c424bce67e8580183788380431f90434.tar.gz
systemtap-steved-450718c9c424bce67e8580183788380431f90434.tar.xz
systemtap-steved-450718c9c424bce67e8580183788380431f90434.zip
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.
Diffstat (limited to 'stapfuncs.3stap.in')
-rw-r--r--stapfuncs.3stap.in30
1 files changed, 0 insertions, 30 deletions
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