leak is leak(1) extended with an -a flag that
tells it to print a report, a bit like with -s,
which associates allocation 'locations' in
a program with the total number of bytes
allocated at those spots.
depending on my understanding of how leak(1)
works this works nicely or completely misses
the point.
currently depends on a perl program 'blocksum'
to sum the counts of the block lines; this is to
be rewritten in 'pure' awk (using external hex2dec
function for each translation is too costly - when we
are low on memory we get _many_ page faults).
|