602b88ccdd
For non-zygote spawned processes, we might want to dump the backtrace data. Provide a method to send a signal to a process and then dump the data to a file. Adds a method to dump the backtrace data on exit. Update documentation and explain format of heap dump data. Test: Ran unit tests, enabled new options and used them. Change-Id: Ie2fa706694160731afe02c1382b037d06df1d069
24 lines
462 B
Text
24 lines
462 B
Text
LIBC_MALLOC_DEBUG {
|
|
global:
|
|
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;
|
|
|
|
local:
|
|
*;
|
|
};
|