|
From: Hallvard B F. <h.b...@us...> - 2009-11-19 00:05:23
|
Do anyone have a script which reports only new leaks/allocations since last VALGRIND_DO_LEAK_CHECK? It's probably easy to write, once one knows all the variants of the 128 bytes in 1 blocks are still reachable in loss record 16 of 19 lines and which variants can move between loss records/blocks... -- Hallvard |
|
From: WAROQUIERS P. <phi...@eu...> - 2009-11-19 09:09:47
|
>Do anyone have a script which reports only new leaks/allocations since >last VALGRIND_DO_LEAK_CHECK? > >It's probably easy to write, once one knows all the variants of the > 128 bytes in 1 blocks are still reachable in loss record 16 of 19 >lines and which variants can move between loss records/blocks... I wrote a patch to implement new VALGRIND_..._LEAK_CHECK client requests providing "delta leak" search. See patch attached to http://bugs.kde.org/show_bug.cgi?id=206802 With this patch, the valgrind regression tests have worked ok, a small test has been written specifically. At work, we are busy validating it with a big application (1.5 millions SLOC, 500Mb of heap, with many allocs and free). If you use the patch, it would be nice to give some feedback (how it is working, enhancements/changes you think would be good, ...). Once it is more validated, I guess it could be integrated in the standard valgrind (I have seen multiple requests for such a "delta leak search" feature). Philippe ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. |
|
From: Hallvard B F. <h.b...@us...> - 2009-11-20 13:18:53
|
WAROQUIERS Philippe writes: > I wrote a patch to implement new VALGRIND_..._LEAK_CHECK client > requests providing "delta leak" search. See patch attached to > http://bugs.kde.org/show_bug.cgi?id=206802 Thanks! > If you use the patch, it would be nice to give some feedback (how it > is working, enhancements/changes you think would be good, ...). Made a bugs.kde.org account now... -- Hallvard |