Has anyone tried to access member fields of C++ objects from within DTrace? Can this be done? Thanks, Joel --- fastest mac firefox! http://wagerlabs.com
Hi Joel,> Has anyone tried to access member fields of C++ objects from within > DTrace? > > Can this be done?It can be done, but not easily. You''ll need to figure out the byte offset and manually pull out the member. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
What is the alternative then? A USDT probe for every kind of field access? Thanks, Joel On Sep 9, 2009, at 6:38 PM, Adam Leventhal wrote:> It can be done, but not easily. You''ll need to figure out the byte > offset > and manually pull out the member. >--- fastest mac firefox! http://wagerlabs.com