"Fabian van der Werf" <fabian.van.der.werf@xxxxxxxxxxx> writes: > For a c++ arm application I need to trace the memory allocations. To > do this I am using the gcc memory hooks. For now I am only printing > the allocations and deallocations, see code below. Those hooks are actually not part of gcc. They are part of glibc, which is a separate project. I don't know why the hooks aren't adding up for you, but the place to ask would be on a glibc mailing list. See http://sourceware.org/glibc/ . Ian