Note: If the image doesn't fully render in your browser, you can download it
Some details on how this map was generated:
I used dtrace to get callstacks during a sysbench run that exercises MySQL. The callstacks from dtrace were fed to perl to generate a closure of all functions that call into ZFS functions. The output from perl was a call graph which was fed to graphviz to generate the flowchart shown above.
Note that some GIGO is apparent in the graph where a few parent functions appear to be calling a grandchild function in addition to a child function. This is due to bugid:6713149 x64 kernel profile call stacks missing a frame
This is pretty cool, can you please post the dtrace perl script as well?
Posted by jy on May 29, 2009 at 12:04 PM PDT #