On Wed, 2010-05-12 at 23:20 +0530, Pavan Chandrashekar wrote:
> On 05/12/10 22:23, Mark Phalan wrote:
> > Are the padding rules supposed to be consistent between the compiler and
> > dtrace on x64?
> >
> >   
> 
> Looks like structure "declarations" within dtrace are not enforced to 
> follow C alignment.
> But when you try to populate the structure, it complains.

I hit this when working on my USDT provider where the structures are
copyin()ed so instead of complaints I got weird data :(

Anyway it looks like a bug to me. I'll file one.

-M


_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to