|
From: Michal <kor...@gm...> - 2010-12-05 19:12:36
|
Hi, I've cloned your repo at http://www.brucemerry.org.za/git/datagrind/, but am unable to find anything about datagrind in it. Anyway, at work I often deal with reference counted memory management, which unfortunately is not well supported by valgrind. In order to debug memory leaks I've created a similar, but weaker, tool to yours (http://gitorious.org/watchgrind/watchgrind). As you can see on every memory write to specified addresses (such as object's reference count) I dump stack trace. Unfortunately I can't use gdb for that, as most of the applications are threaded and gdb's watchpoints don't like that. If your tool would support such scenario easily that would be nice :), especially if (as opposed to my tool) it would correctly support atomic instructions. I am sorry, but I am unable to help you with inclusion of your tool to valgrind I am just a lurker here. Best Regards, Michal. On Sun, Dec 5, 2010 at 4:02 PM, Bruce Merry <bm...@gm...> wrote: > Hello > > I've been developing a Valgrind tool for logging addresses of data > accesses (with a more compact binary format than the lackey output) > and a corresponding graphical viewer. I'd like to find out whether > there is interest from the Valgrind developer community for this to be > incorporated into Valgrind at some point. It would still need some > polishing and lots of testing before it would be ready for a release, > but fairly fully implemented and ready for anyone who wants to have a > play with it. You can see some pictures of what it's good for at > http://blog.brucemerry.org.za/2010/09/visualising-sorting-algorithms.html > (screenshots are from an older version - the current viewer uses > GTK+), and download git repositories from > > http://www.brucemerry.org.za/git/datagrind/ (Valgrind 3.6.0 plus the > new tool; has a .gitmodules to pull in VEX 3.6.0) > http://www.brucemerry.org.za/git/dg_view (the viewer: requires SCons and GTK+) > > Feedback and advice on how best to make this ready for inclusion in > Valgrind are welcome; in particular I couldn't quite work out what the > difference between some of the types (e.g. Word, HWord, SizeT, > Address) was, and so I've probably used the wrong ones in various > places. > > Regards > Bruce > -- > Dr Bruce Merry > bmerry <@> gmail <.> com > http://www.brucemerry.org.za/ > http://blog.brucemerry.org.za/ > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |