summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-08-05 11:24:27 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-08-05 11:24:27 -0400
commita4cc1d081ede55ed6c743147d62fcc3519f73a71 (patch)
treea620f59901c4eabc1344b2968326f709fb386909
parent2cb3fe2688a7713dc7d5a396a4d31ab65f99513c (diff)
downloadsystemtap-steved-a4cc1d081ede55ed6c743147d62fcc3519f73a71.tar.gz
systemtap-steved-a4cc1d081ede55ed6c743147d62fcc3519f73a71.tar.xz
systemtap-steved-a4cc1d081ede55ed6c743147d62fcc3519f73a71.zip
typographical tweaks for embedded script code
-rw-r--r--doc/langref.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/langref.tex b/doc/langref.tex
index a1b694f6..413ece4d 100644
--- a/doc/langref.tex
+++ b/doc/langref.tex
@@ -771,7 +771,7 @@ pointers, and arrays.
\texttt{\$var} refers to an in-scope variable var. If it is a type similar
to an integer, it will be cast to a 64-bit integer for script use. Pointers
similar to a string (char {*}) are copied to SystemTap string values by the
-kernel\_string() or user\_string functions().
+\texttt{kernel\_string()} or \texttt{user\_string()} functions.
\texttt{\$var->field} traverses a structure's field. The indirection operator
may be repeated to follow additional levels of pointers.
@@ -780,14 +780,14 @@ may be repeated to follow additional levels of pointers.
number.
\texttt{\$\$vars} expands to a character string that is equivalent to
-sprintf("parm1=\%x ... parmN=\%x var1=\%x ... varN=\%x", parm1, ..., parmN,
-var1, ..., varN)
+\texttt{sprintf("parm1=\%x ... parmN=\%x var1=\%x ... varN=\%x", \$parm1, ..., \$parmN,
+\$var1, ..., \$varN)}
\texttt{\$\$locals} expands to a character string that is equivalent to
-sprintf("var1=\%x ... varN=\%x", var1, ..., varN)
+\texttt{sprintf("var1=\%x ... varN=\%x", \$var1, ..., \$varN)}
\texttt{\$\$parms} expands to a character string that is equivalent to
-sprintf("parm1=\%x ... parmN=\%x", parm1, ..., parmN)
+\texttt{sprintf("parm1=\%x ... parmN=\%x", \$parm1, ..., \$parmN)}
\subsubsection{kernel.function, module().function}