profiler-memory-log

profiler-memory-log is a built-in function in `C source code'.

(profiler-memory-log)

Return the current memory profiler log.
The log is a hash-table mapping backtraces to counters which represent
the amount of memory allocated at those points. Every backtrace is a vector
of functions, where the last few elements may be nil.
Before returning, a new log is allocated for future samples.