diff options
author | William Cohen <wcohen@redhat.com> | 2010-03-29 11:25:04 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2010-03-29 11:25:04 -0400 |
commit | 3d39ffd976089c514b5fa62661ab2c2b009a712e (patch) | |
tree | a653328da626ace66834fce5d6f416d29a217068 | |
parent | b642c901a918a92fdd6b1167ed02dfe4c50cdd3e (diff) | |
download | systemtap-steved-3d39ffd976089c514b5fa62661ab2c2b009a712e.tar.gz systemtap-steved-3d39ffd976089c514b5fa62661ab2c2b009a712e.tar.xz systemtap-steved-3d39ffd976089c514b5fa62661ab2c2b009a712e.zip |
PR4105 Support up to 9 (up from 5) array indices documentation.
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/Arrays.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml b/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml index 3d3dec01..140000a8 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml @@ -161,7 +161,7 @@ foo["harry"] = 25 </screen> </example> -<para>You can specify up to 5 index expressons in an array statement, each one delimited by a comma (<command>,</command>). This is useful if you wish to have a key that contains multiple pieces of information. The following line from <xref linkend="scriptdisktop"/> uses 5 elements for the key: process ID, executable name, user ID, parent process ID, and string "W". It associates the value of <command>devname</command> with that key.</para> +<para>You can specify up to nine index expressons in an array statement, each one delimited by a comma (<command>,</command>). This is useful if you wish to have a key that contains multiple pieces of information. The following line from <xref linkend="scriptdisktop"/> uses 5 elements for the key: process ID, executable name, user ID, parent process ID, and string "W". It associates the value of <command>devname</command> with that key.</para> <screen> device[pid(),execname(),uid(),ppid(),"W"] = devname |