summaryrefslogtreecommitdiffstats
path: root/stapprobes.3stap.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-03-08 09:06:41 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-03-08 09:06:41 -0500
commitab5e90c22127ef3c354835571414f9165c07bebe (patch)
tree12124ebff1b557bdedc64838d581be29e86ff1fa /stapprobes.3stap.in
parent14f0bb1853f944681823fbc72460f6eac6b58f2d (diff)
downloadsystemtap-steved-ab5e90c22127ef3c354835571414f9165c07bebe.tar.gz
systemtap-steved-ab5e90c22127ef3c354835571414f9165c07bebe.tar.xz
systemtap-steved-ab5e90c22127ef3c354835571414f9165c07bebe.zip
docs: clarify that only -> is used for $var dereferencing, not .
Diffstat (limited to 'stapprobes.3stap.in')
-rw-r--r--stapprobes.3stap.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/stapprobes.3stap.in b/stapprobes.3stap.in
index dbd77ce4..0e1bd66f 100644
--- a/stapprobes.3stap.in
+++ b/stapprobes.3stap.in
@@ -341,9 +341,15 @@ pointers (char *) may be copied to systemtap string values using the
.IR kernel_string " or " user_string
functions.
.TP
-$var\->field
-traversal to a structure's field. The indirection operator
-may be repeated to follow more levels of pointers.
+$var\->field traversal via a structure's or a pointer's field. This
+generalized indirection operator may be repeated to follow more
+levels. Note that the
+.IR .
+operator is not used for plain structure
+members, only
+.IR \->
+for both purposes. (This is because "." is reserved for string
+concatenation.)
.TP
$return
is available in return probes only for functions that are declared