I want to go a lot deeper with my tracing of MySQL and to do so I want to look 
into MySQL Thread Descriptors (class THD).  Inside is a great bulk of 
information utilized by a great many of the core functions within MySQL... I 
really want to get in there.

So far I've had no luck though.  It's a C++ class, and I'm afraid that I'm 
approaching it like a C struct, which may be entirely wrong but I have no 
experience tracing C++ this deeply.  

I'm curious to know if anyone has tackled this yet.  Furthermore, I'm curious 
if I can peer into THD by writing a translator... given the C++'isms I'm not 
sure if thats possible or not.

The only work to this end that I've seen thus far is to embed static probes in 
the code where a handful of THD members are offered as probe args, but this is 
problematic given that there are a lot more than 10 things in there that you'd 
like to see.

Anyone taken on THD without the use of static probes?  Is it possible?

benr.


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to