Jon Nordby’s massifg is now usable and packaged for Ubuntu (in the Openismus PPA) and Fedora. The only slightly awkward dependency is libgoffice (for graph drawing), but that is widely packaged on distros.
It shows both the simple and detailed graphs of valgrind’s massif output, much like the old-style ms_print script. It can print the memory usage graph (also to PDF) and save it as a PNG file, so you can talk to other people about the results.
It’s far better than my previous attempts to modify the original ms_print perl script. There is still a bug (maybe needing a fix in libgoffice) that makes the detailed graph very narrow when showing the legend on small screens, but we are working on that.
8 thoughts on “Massifg Prints Valgrind Massif Graphs”
Looks nice… But sad that it’s yet another Massif frontend which doesn’t build on RHEL5 :-(
Oliver, what’s the problem on RHEL5?
There’s no GTK 2.20 available on RHEL5 (only GTK 2.10.4), and no libgoffice.
Are you really sure that there’s no goffice? Doesn’t it have gnumeric? But, yes, if it has GTK+ 2.10 then that must be quite an old distro.
How can I get second (verbose) output?
Choose “Detailed” in the “View” (I think) menu.
For anyone interested in a more interactive tool to explore massif logs, take a look at http://milianw.de/blog/massif-visualizer-ready-for-testers-and-feedback
Any feedback is greatly appreciated.
@Jon / Murray: Any plans to make your tool interactive as well? Is there maybe a possibility to share code?
Bye, great to see more tools for valgrind!
Yes, I just found massif-visualizer’s cutting-edge dependencies hard to get working. That will get better over time though.
We do plan to add a hover-tooltip to the graphs.