summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwcohen <wcohen>2005-09-22 18:53:25 +0000
committerwcohen <wcohen>2005-09-22 18:53:25 +0000
commit07885a7317c11c71a73706fc8af3e32e7da9f4d8 (patch)
treebe19499b33949ddef558d09d7e9fc985f79ae40e
parentacc5b5e672eceab0172b43dc7dfb1e2e9d4d6e39 (diff)
downloadsystemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.tar.gz
systemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.tar.xz
systemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.zip
Make documentation reflect reality.
-rw-r--r--ChangeLog4
-rw-r--r--stap.1.in6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 107d0f32..9e63c359 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-22 Will Cohen <wcohen@redhat.com>
+
+ * stap.1.in: Correct sys_read alias example.
+
2005-09-19 Frank Ch. Eigler <fche@redhat.com>
* tapsets.cxx (*::emit_probe_entries): Handle busy-count correctly
diff --git a/stap.1.in b/stap.1.in
index d8185f61..0a0fb33d 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -293,13 +293,13 @@ operator. In addition, the statement block that follows an alias
definition is implicitly added as a prologue to any probe that refers
to the alias. For example:
.SAMPLE
-probe syscall("read") = kernel.function("sys_read") {
+probe syscall.read = kernel.function("sys_read") {
fildes = $fd
}
.ESAMPLE
defines a new probe point
.nh
-.IR syscall("read") ,
+.IR syscall.read ,
.hy
which expands to
.nh
@@ -308,7 +308,7 @@ which expands to
with the given assignment as a prologue. Another probe definition
may use the alias like this:
.SAMPLE
-probe syscall("read") {
+probe syscall.read {
printk ("reading fd=" . string (fildes))
}
.ESAMPLE