summaryrefslogtreecommitdiffstats
path: root/doc/langref.tex
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-08-28 11:05:32 -0400
committerStan Cox <scox@redhat.com>2008-08-28 11:05:32 -0400
commitcd221ed4afd8d5e0f24f3f9d6ed4216f3181b1ca (patch)
tree8047db20555cec7c7c5d52e2474bf7f360041515 /doc/langref.tex
parent0565b404408de934e41a4343259068d27deb3ecb (diff)
downloadsystemtap-steved-cd221ed4afd8d5e0f24f3f9d6ed4216f3181b1ca.tar.gz
systemtap-steved-cd221ed4afd8d5e0f24f3f9d6ed4216f3181b1ca.tar.xz
systemtap-steved-cd221ed4afd8d5e0f24f3f9d6ed4216f3181b1ca.zip
Document written but unread global variable automatic display.
Diffstat (limited to 'doc/langref.tex')
-rw-r--r--doc/langref.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/langref.tex b/doc/langref.tex
index 413ece4d..5db82550 100644
--- a/doc/langref.tex
+++ b/doc/langref.tex
@@ -495,7 +495,9 @@ found. Because of possible concurrency limits, such as multiple probe handlers,
each global variable used by a probe is automatically read- or write-locked
while the handler is running. A global declaration may be written at the
outermost level anywhere in a script file, not just within a block of code.
-The following declaration marks \texttt{var1} and \texttt{var2} as global.
+Global variables which are written but never read will be displayed
+automatically at session shutdown. The following declaration marks
+\texttt{var1} and \texttt{var2} as global.
The translator will infer a value type for each, and if the variable is used
as an array, its key types.