This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Semantic error while accessing a function parameter with linux 2.6.29 ppc64
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Sridhar Samudrala <samudrala dot sridhar at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Thu, 26 Mar 2009 20:06:04 -0400
- Subject: Re: Semantic error while accessing a function parameter with linux 2.6.29 ppc64
- References: <2475a8740903261228w165b9569i3416c9d92c1cad49@mail.gmail.com>
Sridhar Samudrala <samudrala.sridhar@gmail.com> writes:
> The following simple one line script is failing with a semantic error
> on linux 2.6.29 ppc64 .
> The same script works fine on linux 2.6.28.
> Is there any new config option that needs to be enabled with 2.6.29?
>
> stap -e 'probe kernel.function("tcp_transmit_skb") { printf("skb:%p \n",$sk=
> b) }'
>
> semantic error: not accessible at this address: identifier '$skb' [...]
http://sources.redhat.com/systemtap/wiki/TipContextVariables has
some advice about this general problem.
- FChE