about systemtap script

陈静相 chenjx8@gmail.com
Tue Jul 20 01:26:00 GMT 2010


hi --
about systemtap script
when I use this kind probe "module(MPATTERN).statement(PATTERN)"
allway write PATTERN like:*@globalvar/globalvar.c:59
the line number is a problem. I want this kind probe can support
PATTERN like this :

globalvar.c:

15:void globalvar_read()
16:{
17:   int a;
18    int b;
     ....;
30    a += 100;
31   return;
32}


if I want attch line 30, I want to use functionname add offset in function
can systemtap support this PATTERN?
or anyway can support like this?



More information about the Systemtap mailing list