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]

Re: user-space tracing on Debian... or..?


I tried with a custom 3.8.x. kernel.
Also I tried with the latest Fedora which uses a 3.6.x kernel.
Both use Systemtap 2.1.

For both kernels I get an error when I try to run the probe:
probe process("./test").function("main").return
{
        printf("Main function exited\n");
}

Error:
Pass 1: parsed user script and 97 library script(s) using
216852virt/35972res/2972shr/33668data kb, in 230usr/50sys/507real ms.
semantic error: while resolving probe point: identifier 'process' at
test.stp:2:7
        source: probe process("./test").function("main").return
                      ^

semantic error: process return probes not available [man
error::inode-uprobes]
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 217908virt/37272res/3116shr/34724data kb, in 10usr/10sys/27real ms.
Pass 2: analysis failed.  [man error::pass2]

>From what I understand is that it has something to do with the fact that
Systemtap uses Uprobes instead of Utrace in newer kernels. Is there any way
I can run probes of this type? Or is there a workaround to be able to run a
probe with the same effect?

Thanks! CP



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/user-space-tracing-on-Debian-or-tp225167p225252.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.


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