Question about line number probing
Frank Ch. Eigler
fche@redhat.com
Wed Jan 24 23:27:00 GMT 2007
Hi -
> > probe kernel.statement("*@foo.c:1234") {
> > printf("arg2 = %d\n", $arg2);
> > }
> Yeah, I tried that. It said it couldn't locate arg2. :(
Yes, sometimes the compiler makes the value effectively disappear.
Running gdb on a similarly optimized binary would give the same error.
Try neighbouring line numbers (though IIRC systemtap already makes
suggestions like that).
- FChE
More information about the Systemtap
mailing list