public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* How to use systemtap with linux 3.5 userspace probes ?
@ 2012-08-21 23:36 David Cournapeau
  2012-08-22  3:06 ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: David Cournapeau @ 2012-08-21 23:36 UTC (permalink / raw)
  To: systemtap

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-22 15:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21 23:36 How to use systemtap with linux 3.5 userspace probes ? David Cournapeau
2012-08-22  3:06 ` Frank Ch. Eigler
2012-08-22  7:15   ` David Cournapeau
2012-08-22 14:32     ` Serguei Makarov
2012-08-22 15:04       ` David Cournapeau
2012-08-22 15:40         ` Serguei Makarov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).