Function probe return
Josh Stone
jistone@redhat.com
Wed Sep 11 16:52:00 GMT 2013
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.
More information about the Systemtap
mailing list