summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/stap.1.in b/stap.1.in
index 69c1e6d2..d37060eb 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -294,6 +294,18 @@ function will have a special "unknown" type with no return value.
.TP
.BR next
Return now from enclosing probe handler.
+.TP
+.BR delete " ARRAY[INDEX1, INDEX2, ...]"
+Remove from ARRAY the element specified by the index tuple. The value will no
+longer be available, and subsequent iterations will not report the element.
+It is not an error to delete an element that does not exist.
+.TP
+.BR delete " ARRAY"
+Remove all elements from ARRAY.
+.TP
+.BR delete " SCALAR"
+Removes the value of SCALAR. Integers and strings are cleared to 0 and ""
+respectively, while statistics are reset to the initial empty state.
.SS EXPRESSIONS
Systemtap supports a number of operators that have the same general syntax,