[patch] .statement("function@file.c+5")

Jim Keniston jkenisto@us.ibm.com
Sat Jun 7 00:41:00 GMT 2008


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



More information about the Systemtap mailing list