diff options
author | jistone <jistone> | 2006-12-22 22:18:02 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-12-22 22:18:02 +0000 |
commit | d950d08e6f21c19fa63a4435fd7071fe02c66745 (patch) | |
tree | cac54fc5a75ac8ec25487dc97296ae1cfa235b73 /stap.1.in | |
parent | 4256c24cb293c78296a64e3c72978431a04dfc64 (diff) | |
download | systemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.tar.gz systemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.tar.xz systemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.zip |
2006-12-22 Josh Stone <joshua.i.stone@intel.com>
* stap.1.in: Document how to specify the size of global arrays.
testsuite/
* buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp,
parseko/array03.stp, parseko/array04.stp, transko/array01.stp,
systemtap.base/array_size.exp, systemtap.base/array_size.stp:
Tests for specifying the size of global arrays.
Diffstat (limited to 'stap.1.in')
-rw-r--r-- | stap.1.in | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |