This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Function probe return
- From: Josh Stone <jistone at redhat dot com>
- To: philippe <philippe dot midol-monnet at sopragroup dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 11 Sep 2013 09:52:29 -0700
- Subject: Re: Function probe return
- Authentication-results: sourceware.org; auth=none
- References: <1378911631209-243938 dot post at n7 dot nabble dot com>
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.