diff options
author | Stan Cox <scox@redhat.com> | 2008-06-09 14:31:02 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2008-06-09 14:31:02 -0400 |
commit | 1bd128a3bfbd8943cc42e497d91a426d4312f515 (patch) | |
tree | 3bf38f020c02f10882553b81c13b7766a0b6563e /stapprobes.5.in | |
parent | 14cdaa0b0196d5ce8e45beae9f82de73e0c4a28d (diff) | |
download | systemtap-steved-1bd128a3bfbd8943cc42e497d91a426d4312f515.tar.gz systemtap-steved-1bd128a3bfbd8943cc42e497d91a426d4312f515.tar.xz systemtap-steved-1bd128a3bfbd8943cc42e497d91a426d4312f515.zip |
Add test and doc for kernel.statement relative line number.
Diffstat (limited to 'stapprobes.5.in')
-rw-r--r-- | stapprobes.5.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in index b49c8291..025aa2a8 100644 --- a/stapprobes.5.in +++ b/stapprobes.5.in @@ -256,7 +256,10 @@ linux source directory, although an absolute path may be necessary for some kern If a relative pathname doesn't work, try absolute. .IP \(bu 4 Finally, the third part is optional if the file name part was given, -and identifies the line number in the source file, preceded by a ":". +and identifies the line number in the source file preceded by a ":" +or a "+". The line number is assumed to be an +absolute line number if preceded by a ":", or relative to the entry of +function if preceded by a "+". .PP As an alternative, PATTERN may be a numeric constant, indicating an (module-relative or kernel-_stext-relative) address. In guru mode @@ -493,7 +496,10 @@ refers to the first byte of the statement whose compiled instructions include the given address in the kernel. .TP kernel.statement("*@kernel/sched.c:2917") -refers to the statement of line 2917 within the "kernel/sched.c". +refers to the statement of line 2917 within "kernel/sched.c". +.TP +kernel.statement("bio_init@fs/bio.c+3") +refers to the statement at line bio_init+3 within "fs/bio.c". .TP syscall.*.return refers to the group of probe aliases with any name in the third position |