Add support for scudo native allocator.
Bug: 137795072 Test: dumpsys meminfo <PID> and verified non-zero return for Native Heap Test: using jemalloc and using scudo. Change-Id: I418c89eaf2eb21d64f008435fa588d22523ffdbd
This commit is contained in:
@@ -257,6 +257,8 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
|
||||
which_heap = HEAP_NATIVE;
|
||||
} else if (base::StartsWith(name, "[anon:libc_malloc]")) {
|
||||
which_heap = HEAP_NATIVE;
|
||||
} else if (base::StartsWith(name, "[anon:scudo:")) {
|
||||
which_heap = HEAP_NATIVE;
|
||||
} else if (base::StartsWith(name, "[stack")) {
|
||||
which_heap = HEAP_STACK;
|
||||
} else if (base::StartsWith(name, "[anon:stack_and_tls:")) {
|
||||
|
||||
Reference in New Issue
Block a user