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 /doc/langref.tex | |
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 'doc/langref.tex')
-rw-r--r-- | doc/langref.tex | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/langref.tex b/doc/langref.tex index 46d350f6..28a9f1b6 100644 --- a/doc/langref.tex +++ b/doc/langref.tex @@ -751,7 +751,11 @@ In most cases, the path should be relative to the top of the linux source directory, although an absolute path may be necessary for some kernels. If a relative pathname doesn't work, try absolute. \item The third part is optional if the file name part was given. It identifies -the line number in the source file, preceded by a colon. +the line number in the source file, preceded by a '':'' or ''+''. +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 ''+''. + \end{enumerate} Alternately, specify PATTERN as a numeric constant to indicate a relative module address or an absolute kernel address. @@ -825,6 +829,8 @@ Example: # Refers to the statement at line 2917 within the # kernel/sched.c file: kernel.statement("*@kernel/sched.c:2917") +# Refers to the statement at line bio_init+3 within the fs/bio.c file: +kernel.statement("bio_init@fs/bio.c+3") \end{verbatim} \end{vindent} |