[dtrace-discuss] Userspace CTF hacks (was Re: MySQL THD via PID Provider)

John Levon john.levon at sun.com
Mon Apr 7 11:35:28 PDT 2008


On Mon, Apr 07, 2008 at 11:00:54AM -0700, Ben Rockwood wrote:

> Everything helps, sounds really kool.  Any chance at getting a look?

http://cr.opensolaris.org/~johnlev/ctftoh/

Such as it is. The biggest work left would be the topological sort so
that the compiler can understand the header. It's not too complicated,
and I had an algorithm sorted out, but promptly forgot it. I think it
was something like "output all typedefs and a bunch of forward
declarations, then walk the tree"

regards
john



More information about the dtrace-discuss mailing list