diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-11-15 14:35:40 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-11-15 14:35:40 -0500 |
commit | 055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch) | |
tree | 5c51849d470c1ff74162fbeb6be56f190d524daf /stapfuncs.5.in | |
parent | 3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff) | |
parent | f781f849ceedba83580eead82c3baf949a9738db (diff) | |
download | systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.gz systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.xz systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r-- | stapfuncs.5.in | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 496d5760..3802117a 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -23,32 +23,22 @@ example2:unknown () In function "example2", do something. There is no explicit return value and take no parameters. -.SS LOGGING +.SS PRINTING .TP log:unknown (msg:string) -Log the given string to the common trace buffer. Append an implicit -end-of-line. - -.TP -print:unknown (...) -Print the given integer, string, or statistics value to -the common trace buffer. - -.TP -printf:unknown (fmt:string, ...) -Like the C printf, except valid types are limited to string ("%s") -and integer ("%d"). +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) -Log the given string to the warning stream. Append an implicit end-of-line. +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. Log the given string to the error stream. +An error has occurred. Write the given string to the error stream. Append an implicit end-of-line. .I staprun prepends the string "ERROR:". @@ -120,10 +110,10 @@ string cannot be converted. .TP tokenize:string (str:string, delim:string) Return the next token in the given str string, where the tokens are delimited -by one of the characters in the delim string. If the str string is non-NULL, -it returns the first token. If the str string is NULL, it returns the next +by one of the characters in the delim string. If the str string is not blank, +it returns the first token. If the str string is blank, it returns the next token in the string passed in the previous call to tokenize. If no delimiter -is found, the entire remaining str string is returned. Returns NULL when +is found, the entire remaining str string is returned. Returns blank when no more tokens are left. .SS TIMESTAMP |