diff options
author | wcohen <wcohen> | 2005-09-22 18:53:25 +0000 |
---|---|---|
committer | wcohen <wcohen> | 2005-09-22 18:53:25 +0000 |
commit | 07885a7317c11c71a73706fc8af3e32e7da9f4d8 (patch) | |
tree | be19499b33949ddef558d09d7e9fc985f79ae40e | |
parent | acc5b5e672eceab0172b43dc7dfb1e2e9d4d6e39 (diff) | |
download | systemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.tar.gz systemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.tar.xz systemtap-steved-07885a7317c11c71a73706fc8af3e32e7da9f4d8.zip |
Make documentation reflect reality.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stap.1.in | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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 @@ -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 |