summaryrefslogtreecommitdiffstats
path: root/stapprobes.5.in
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-08-04 16:24:12 -0400
committerStan Cox <scox@redhat.com>2008-08-04 16:24:12 -0400
commit2cb3fe2688a7713dc7d5a396a4d31ab65f99513c (patch)
treec6c43c73b80d58d1b63d0709b47c22f151f85e85 /stapprobes.5.in
parent8cd1eacaab66a32b506f93d98fc72af03c32a039 (diff)
downloadsystemtap-steved-2cb3fe2688a7713dc7d5a396a4d31ab65f99513c.tar.gz
systemtap-steved-2cb3fe2688a7713dc7d5a396a4d31ab65f99513c.tar.xz
systemtap-steved-2cb3fe2688a7713dc7d5a396a4d31ab65f99513c.zip
Add $$vars, $$parms, $$locals
Diffstat (limited to 'stapprobes.5.in')
-rw-r--r--stapprobes.5.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in
index fcc44df1..24075248 100644
--- a/stapprobes.5.in
+++ b/stapprobes.5.in
@@ -329,6 +329,19 @@ may be repeated to follow more levels of pointers.
$var[N]
indexes into an array. The index is given with a
literal number.
+.TP
+$$vars
+expands to a character string that is equivalent to
+sprintf("parm1=%x ... parmN=%x var1=%x ... varN=%x", parm1, ..., parmN,
+var1, ..., varN)
+.TP
+$$locals
+expands to a character string that is equivalent to
+sprintf("var1=%x ... varN=%x", var1, ..., varN)
+.TP
+$$parms
+expands to a character string that is equivalent to
+sprintf("parm1=%x ... parmN=%x", parm1, ..., parmN)
.PP
For ".return" probes, context variables other than the "$return"
value itself are only available for the function call parameters.