|
From: Hämäläinen K. <kim...@no...> - 2011-02-16 11:06:51
Attachments:
valgrind-diff.py
|
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 |