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: Function probe return


On 09/11/2013 08:00 AM, philippe wrote:
> semantic error: while resolving probe point: identifier 'process' at
> timestamp_logbook_calls.stp:25:7
>         source: probe process("/opt/xxx/bin/swim").function("CREATE_LOGBOOK").return{
>                       ^
> 
> semantic error: process return probes not available [man error::inode-uprobes]

> Why does the "call" work and not the "return"?

The second "semantic error" line tells the real reason.  Return probes
were a feature of our external uprobes module for older utrace-patched
kernels, but the initial inode-based uprobes built into the kernel
lacked return probes.  Starting in kernel 3.10, process return probes
should work again.


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