Hi,
I wonder whether it is possible to rack the memory allocation/deallocation
in my application and all linked libraries by using Valgrind ? What do I
mean by that: I'd like to turn on some log that would write a memory
allocation in the following form: address, source file, source line of where
Isn't wrapping *alloc/free and new/delete enough for that (i.e. can
> you recompile all the allocators you need)? If yes, it's possible not
> to use Valgrind at all.
That's might be a solution, but what do you mean by "wrapping" ? Can you
provide an example and generally the way how to do that ?
I just found a very interesting feature of libc that allows to do exactly
what I've been looking. Have a look at
http://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html#Allocation-Debugging
Nevertheless I'm still curious is it possible to do the same using Valgrind
? Or if any