How to use systemtap with linux 3.5 userspace probes ?

David Cournapeau cournape@gmail.com
Tue Aug 21 23:36:00 GMT 2012


Hi,

My understanding is that systemtap 1.8 supports userspace probing with
upstream kernel >=3.5. I was expecting to be able to use the same dysp
probes as with the utrace patches, but trying a simple stap scripts
such as:

probe process("./a.out").function("foo")
{ printf("hello\n"); }

fails to run:

semantic error: while resolving probe point: identifier 'process' at foo.stp:1:7
        source: probe process("./a.out").function("foo")
                      ^

semantic error: no match
Pass 2: analysis failed.  Try again with another '--vp 01' option.

Is there some information I am missing ?

thanks,

David



More information about the Systemtap mailing list