summaryrefslogtreecommitdiffstats
path: root/stapfuncs.5.in
diff options
context:
space:
mode:
authorkevinrs <kevinrs>2005-09-28 00:29:47 +0000
committerkevinrs <kevinrs>2005-09-28 00:29:47 +0000
commit5b328efe93befa4d48774985bd0254560d9c8470 (patch)
tree4ddcacbf30c8a7984e4ca9a3da0c698450834d33 /stapfuncs.5.in
parent26093a09fc6e336c8a44b8b4076db69ed0c29d00 (diff)
downloadsystemtap-steved-5b328efe93befa4d48774985bd0254560d9c8470.tar.gz
systemtap-steved-5b328efe93befa4d48774985bd0254560d9c8470.tar.xz
systemtap-steved-5b328efe93befa4d48774985bd0254560d9c8470.zip
tapset/mask_string.stp:
wrote a few aux functions that can be used by tapsets to derive a bitmask symbolic string from a given number tapset/string.stp: strlen: Returns the length of the string argument substr: Returns a substring starting at start/ending at stop stapfuncs.5.in: Added a STRING category with aforementioned functions tapset/system_calls.stp Exported more variable for more system calls
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r--stapfuncs.5.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in
index a9746a1d..01adca12 100644
--- a/stapfuncs.5.in
+++ b/stapfuncs.5.in
@@ -84,6 +84,16 @@ user_string:string (addr:long)
Copy a string from user space at given address. The validation of this
address is only partial at present.
+.SS STRING
+
+.TP
+strlen:long (str:string)
+Return the number of characters in str.
+
+.TP
+substr:string (str:string,start:long,stop:long)
+Return the substring starting at character start and ending at character stop.
+
.SS TIMESTAMP
.TP