bionic: Detect userspace memory leak
When process is consuming memory beyond the limit specified by
property, it will print all the allocations of the same process.
To enable this feature, do following steps:
1. libc.debug.malloc 40
2. libc.debug.malloc.program <PROCESS_NAME>
3. libc.debug.malloc.maxprocsize <VALUE_IN_BYTES>
4. libc.malloc.minalloclim <VALUE_IN_BYTES>
Conflicts:
libc/bionic/malloc_debug_check.cpp
libc/bionic/malloc_debug_common.cpp
Change-Id: I03a4de9643ec954802b26443ce5685975ea30f89
2 files changed