This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [patch] .statement("function@file.c+5")
- From: Jim Keniston <jkenisto at us dot ibm dot com>
- To: Stan Cox <scox at redhat dot com>
- Cc: Systemtap List <systemtap at sources dot redhat dot com>
- Date: Fri, 06 Jun 2008 10:53:35 -0700
- Subject: Re: [patch] .statement("function@file.c+5")
- References: <1212760133.2818.59.camel@multics.rdu.redhat.com>
On Fri, 2008-06-06 at 09:48 -0400, Stan Cox wrote:
> This supports a relative line offset for .statement. So for example:
> .statement("function@file.c:135") would be line 135 of function in
> file.c
> .statement("function@file.c+3") would be function entry line + 3 in
> file.c
>
Yay!
How is "function entry line" defined? The line with the opening curly
brace?
Jim