This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

about systemtap script


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]