platform_bionic/libc/malloc_debug/exported64.map
Christopher Ferris 2e1a40a203 Change heap dump format slightly.
Bump the version from v1.1 to v1.2 and add a build fingerprint line.

Update the heap dump documentation to match the new format and reflect
what made it in P and what made it in Q.

Update the unit tests for this change.

Add -O0 to unit test code to make it easier to debug.

Add an external function that can be used by the framework code
so that there is only one way to dump the heap.

Bug: 110095681

Test: Ran unit tests.
Test: Did a dump of a real process and verified fingerprint.
Test: Did a dump of a process without malloc debug enabled.
Change-Id: I769a476cbeaf4c85c5d75bd6d6385f0e3add948c
Merged-In: I769a476cbeaf4c85c5d75bd6d6385f0e3add948c
(cherry picked from commit c84a2a2601)
2018-06-15 12:29:13 -07:00

26 lines
521 B
Text

LIBC_MALLOC_DEBUG {
global:
debug_aligned_alloc;
debug_calloc;
debug_dump_heap;
debug_finalize;
debug_free;
debug_free_malloc_leak_info;
debug_get_malloc_leak_info;
debug_initialize;
debug_iterate;
debug_mallinfo;
debug_malloc;
debug_malloc_backtrace;
debug_malloc_disable;
debug_malloc_enable;
debug_malloc_usable_size;
debug_mallopt;
debug_memalign;
debug_posix_memalign;
debug_realloc;
debug_write_malloc_leak_info;
local:
*;
};