script compilation fails at 'Pass 4'

Frank Ch. Eigler fche@redhat.com
Mon Dec 10 17:47:00 GMT 2012


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



More information about the Systemtap mailing list