I am talking about the situation when shared library is loaded, has allocated
some memory that hasn't been freed, and then library is unloaded.
Subsequent profiles don't show symbols from such libraries since section
MAPPED_LIBRARIES in profile is taken at the time profile is saved.
Of course, it is possible that the newly allocated (mmapped) memory would
overlap with the previous blocks and it would be impossible to distinguish
between the two. But in situations when such overlap doesn't occur, perftools
can preserve the mapping information and save it in a new section, for example
named MAPPED_LIBRARIES_PAST. And if pprof utility would aggregate such entries,
it would correctly report symbols for all such libraries.
Original issue reported on code.google.com by yuriv...@gmail.com on 10 Jun 2013 at 7:45
Original issue reported on code.google.com by
yuriv...@gmail.com
on 10 Jun 2013 at 7:45