|
From: Ashley P. <as...@qu...> - 2006-10-25 19:06:53
Attachments:
vg_xmlmerge.pl
|
Attached is the perl script I've been working on for processing the xml files produced my memcheck. It's primary aim is to be able to combine a number of input files and report all of the errors from all of the files in the shortest format possible. This is essential when using valgrind to debug parallel jobs at anything other than a very small cpu count. It does this by taking a number of xml files and as converting them into the "raw" output that valgrind itself would have created. If more than one input file is given it uses the logfilequalifier value (normally set to the rank of the process) to identify which errors occour in which files. It would be nice if this could be incorporated into future releases somehow, along with the regtest patch I sent yesterday which allows this script to used by the memcheck tests. One thing it doesn't do currently but I'm looking at ways to add is to return a error code indicating the presence of errors in the input, this would help with automated testing using valgrind. Ashley, |