This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Pointer chain paranoia
- From: Roland McGrath <roland at redhat dot com>
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>, systemtap at sources dot redhat dot com
- Date: Tue, 14 Nov 2006 13:28:53 -0800 (PST)
- Subject: Re: Pointer chain paranoia
> Are pointer chain references in the regular stap language (not embedded
> C) always safe? In other words, if I use something of the form
> $ptr1->ptr2->ptr3->var, does stap automatically convert that to the
> needed deref() macros?
Yes, all generated references use the macro (that's why it exists).