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]

How to use systemtap with linux 3.5 userspace probes ?


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


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