diff options
author | Elliott Baron <elliott@localhost.localdomain> | 2008-12-19 10:13:52 -0500 |
---|---|---|
committer | Elliott Baron <elliott@localhost.localdomain> | 2008-12-19 10:13:52 -0500 |
commit | a46143af464b24e75e784a3ebaebf86bc52a44ed (patch) | |
tree | 8ab09ae8ff39e673fed163ad6ef225c3e0ae754a /doc/SystemTap_Beginners_Guide/en-US/Arrays.xml | |
parent | 30c94a80d5f7bef33450bd1a7e090c8e99b6db89 (diff) | |
parent | b00e123d3bc577a0b255628e36f7534dc7a1e641 (diff) | |
download | systemtap-steved-a46143af464b24e75e784a3ebaebf86bc52a44ed.tar.gz systemtap-steved-a46143af464b24e75e784a3ebaebf86bc52a44ed.tar.xz systemtap-steved-a46143af464b24e75e784a3ebaebf86bc52a44ed.zip |
Merge branch 'master' of ssh://ebaron@sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US/Arrays.xml')
-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 ac320fcd..3d3dec01 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 ID, and string "W". It associates the value of <command>devname</command> with that key.</para> +<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> <screen> device[pid(),execname(),uid(),ppid(),"W"] = devname |