Hello all,
I'm new to using mpatrol and I'm trying to use it to figure out heap
efficiency. Basically when the process mallocs memory, reserves it,
and then when it frees the memory and when it can actually free
blocks/pages back to be used by everyone else.
I see in the mptrace tool it tells you when it reserves it:
12 free 20 0x093E71AC 16 1 0 0
13 alloc 21 0x093E71AC 16 1 16
reserve 0x093E9000 98304
14 alloc 22 0x093E7904 96000 2 96016
reserve 0x09401000 98304
But I don't see it listing when it frees it back to general use by
everyone.
Does anyone know if mpatrol does this? How does it figure out when it
reserves it? Does it wrap sbrk?
Thanks,
Tom