Extend f__memory_usage() to be able to log the overallocation.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6275
Reported by @grubba
From [bug #6045]:
Comment #4 From Martin Stjernholm 2012-02-07 15:45:09 CET (-) [reply]
A first step is to extend f__memory_usage() and the memory logger module to be able to log the overallocation in all BLOCK_ALLOCs and in the malloc lib (the interesting fields from mallinfo(3) should be uordblks, fordblks, and arena+hblkhd).
See also infokom 716274 and comments.
Comment #5 From Martin Stjernholm 2012-03-07 14:59:26 CET (-) [reply]
Working on linux platform is mandatory to solve the customer issue.