|
From: Osman, A. <ahm...@me...> - 2009-10-29 23:40:46
|
Hi All, Is there a way to merge all runs of valgrind for the same executable in one file? - Osman |
|
From: Paul F. <pa...@fr...> - 2009-10-30 17:51:58
|
Osman, Ahmed wrote: > Hi All, > > Is there a way to merge all runs of valgrind for the same executable in > one file? I use cat. A+ Paul -- Paul Floyd http://paulf.free.fr |
|
From: Dan K. <da...@ke...> - 2009-10-30 17:58:57
|
On Fri, Oct 30, 2009 at 10:53 AM, Paul Floyd <pa...@fr...> wrote: >> Is there a way to merge all runs of valgrind for the same executable in >> one file? > > I use cat. It's worth diffing runs of valgrind for the next build of the same executable, too. For instance, http://kegel.com/wine/valgrind/logs/2009-10-26-08.26/diff-d3d10_effect.txt shows a diff that caught an invalid free on a new checkin. - Dan |
|
From: Osman, A. <ahm...@me...> - 2009-10-30 17:58:48
|
Hi Paul, Thanks for your feedback but this will contain redundant information. - Ahmed -----Original Message----- From: Paul Floyd [mailto:pa...@fr...] Sent: Friday, October 30, 2009 10:54 AM To: val...@li... Subject: Re: [Valgrind-users] merge valgrind results Osman, Ahmed wrote: > Hi All, > > Is there a way to merge all runs of valgrind for the same executable in > one file? I use cat. A+ Paul -- Paul Floyd http://paulf.free.fr ------------------------------------------------------------------------ ------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Valgrind-users mailing list Val...@li... https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: Paul F. <pa...@fr...> - 2009-10-30 21:45:20
|
Osman, Ahmed wrote: > Hi Paul, > > Thanks for your feedback but this will contain redundant information. Hi That doesn't bother me too much. We run nonregression suites with Valgrind over the weekend. That covers about half a dozen applications, and each test suite has something like 100 to 700 testcases, so each suite contains something like 1000 tests. Like I said, I just cat everything together, and then use an app full of regexps to parse the results, giving a summary of type of application, type of error and call stack. I also generate a small file per testcase with in the suppression file format to make it easier to add suppressions. I keep the summaries so that I can perform diffs on the numbers of errors and which testcases they appeared in (or disappeared from). A+ Paul -- Paul Floyd http://paulf.free.fr |
|
From: Ashley P. <as...@pi...> - 2009-10-30 18:14:52
|
On Thu, 2009-10-29 at 16:39 -0700, Osman, Ahmed wrote: > Hi All, > > Is there a way to merge all runs of valgrind for the same executable > in one file? I've got a tool to do this, it's targeted at a very specific use-case however so might not work for you. It's designed for parallel jobs or beowulf clusters but also works with multiple serial runs of the same program. You need to run the program with valgrind in xml mode and then run my tool giving it a number of xml files which it will re-assemble into a single output file containing all the errors from all the runs of the program. Let me know if you think this is what you are looking for and I'll share the code with you. It's open-source but I've never got around to publishing it formally. Ashley, -- Ashley Pittman, Bath, UK. Padb - A parallel job inspection tool for cluster computing http://padb.pittman.org.uk |
|
From: Dan K. <da...@ke...> - 2009-10-30 18:25:39
|
On Fri, Oct 30, 2009 at 11:14 AM, Ashley Pittman <as...@pi...> wrote: > You need to run the program with valgrind in xml mode and then run my > tool giving it a number of xml files which it will re-assemble into a > single output file containing all the errors from all the runs of the > program. > > Let me know if you think this is what you are looking for and I'll share > the code with you. It's open-source but I've never got around to > publishing it formally. Go for it. I wrote one of those but also never posted it, and I dropped it on the floor somewhere... |
|
From: Ashley P. <as...@pi...> - 2009-10-30 18:33:27
Attachments:
vg_xmlmerge.pl
|
On Fri, 2009-10-30 at 11:25 -0700, Dan Kegel wrote: > Go for it. I wrote one of those but also never posted it, and I dropped it on > the floor somewhere... Attached, use it like the following: valgrind --xml=yes --xml-file=bob.0 ls valgrind --xml=yes --xml-file=bob.1 ls ./vg_xmlmerge.pl bob.0 bob.1 This code is well over five years old now and was used in our automated testing, one of the reasons I never polished it for public consumption was that is uses XML::In which could take a long time to process xml files, I had planned to re-write in using a proper xml parser although I notice now that the performance of what's there is 10x better than it was. Ashley, -- Ashley Pittman, Bath, UK. Padb - A parallel job inspection tool for cluster computing http://padb.pittman.org.uk |