Hi,

I wrote a Python script to compare allocations of two Valgind logs.
Posting it here in case someone else finds it useful too.

It can "subtract" two Valgrind logs with still reachable/possibly
lost/definitely lost allocations and shows the differences. In the
output, negative number of blocks means blocks that are present in the
first log but missing from the second log.

Notice that the output can be wrong when the block size is not the same
for all blocks in a particular backtrace.  Don't blame me if it kills
your dog.

-Kimmo

Attachment: valgrind-diff.py
Description: application/python

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to