diff options
author | jistone <jistone> | 2006-01-17 19:51:23 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-01-17 19:51:23 +0000 |
commit | 0f02aa7ae8f49cf1aee0f49a02f0095625a244a6 (patch) | |
tree | d7bb755fc6117fa85e8e5c10a1a0dcb01c37e69a | |
parent | eab7d4cf047a95f32462b598db2aa64f0b9660c3 (diff) | |
download | systemtap-steved-0f02aa7ae8f49cf1aee0f49a02f0095625a244a6.tar.gz systemtap-steved-0f02aa7ae8f49cf1aee0f49a02f0095625a244a6.tar.xz systemtap-steved-0f02aa7ae8f49cf1aee0f49a02f0095625a244a6.zip |
2006-01-17 Josh Stone <joshua.i.stone@intel.com>
* stap.1.in: Document the 'delete' operator.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stap.1.in | 12 |
2 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2006-01-17 Josh Stone <joshua.i.stone@intel.com> + + * stap.1.in: Document the 'delete' operator. + 2006-01-16 Roland McGrath <roland@redhat.com> * systemtap.spec.in (elfutils_version): Require 0.119 now. @@ -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, |