This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: script compilation fails at 'Pass 4'
Mehul Choube <Mehul_Choube@symantec.com> writes:
> [...]
> Now it fails with:
> error: 'STAP_ARG_sock' undeclared (first use in this function)
OK, so you must be running a systemtap version older than 1.8. In
that case, you would need to use THIS->sock instead of STAP_ARG_sock
and THIS->__retvalue for STAP_RETVALUE etc. in the embedded-C blocks.
You might also need to copy the NIPQUAD* related embedded-C block from
<http://sourceware.org/systemtap/examples/process/pfiles.stp>.
- FChE