summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/stap.1.in b/stap.1.in
index 3986c52b..13fcc550 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -280,6 +280,16 @@ or number literal.
.RS
.BR global " var1" , " var2" , " var3=4"
.RE
+.PP
+Arrays are limited in size by the MAXMAPENTRIES variable -- see the
+.B SAFETY AND SECURITY
+section for details. Optionally, global arrays may be declared with a
+maximum size in brackets, overriding MAXMAPENTRIES for that array only.
+Note that this doesn't indicate the type of keys for the array, just the
+size.
+.RS
+.BR global " tiny_array[10]" , " normal_array" , " big_array[50000]"
+.RE
.\" XXX add statistics type here once it's supported
.SS STATEMENTS