summaryrefslogtreecommitdiffstats
path: root/stapprobes.5.in
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-11-17 11:34:50 -0500
committerStan Cox <scox@redhat.com>2008-11-17 11:34:50 -0500
commitf28a8c28ce2ceed97bc4f4a19ffe8880bceb0682 (patch)
treee3c2b9bd0a8e10d6145f1e31f09242cb3735ca8c /stapprobes.5.in
parenta6ce170764b0ec75d3ddbca20823b2a951a225d2 (diff)
downloadsystemtap-steved-f28a8c28ce2ceed97bc4f4a19ffe8880bceb0682.tar.gz
systemtap-steved-f28a8c28ce2ceed97bc4f4a19ffe8880bceb0682.tar.xz
systemtap-steved-f28a8c28ce2ceed97bc4f4a19ffe8880bceb0682.zip
Add static uprobe support (static library variant)
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 361dc000..b50adc9d 100644
--- a/stapprobes.5.in
+++ b/stapprobes.5.in
@@ -405,6 +405,7 @@ process("PATH").syscall.return
process.syscall.return
process(PID).itrace
process("PATH").itrace
+process("PATH").mark("LABEL")
.ESAMPLE
.PP
A
@@ -440,6 +441,18 @@ context variable.
A
.B .itrace
probe gets called for every single step of the process described by PID or PATH.
+A
+.B .mark
+probe gets called via a static probe which is defined in the
+application by
+STAP_PROBE1(handle,LABEL,arg1). The handle is an application handle,
+LABEL corresponds to the .mark argument, and arg1 is the argument.
+STAP_PROBE1 is used for probes with 1 argument, STAP_PROBE2 is used
+for probes with 2 arguments, and so on.
+The arguments of the probe are available in the context variables
+$arg1, $arg2, ...
+The application should be compiled with ../share/systemtap/runtime/sduprobes.h
+and should be linked with libsduprobes.a.
.PP
Note that
.I PATH