Merge "Fix stack memory accounting for dumpsys" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-31 20:46:24 +00:00
committed by Android (Google) Code Review

View File

@@ -258,7 +258,7 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
} else if (base::StartsWith(name, "[anon:libc_malloc]")) {
which_heap = HEAP_NATIVE;
} else if (base::StartsWith(name, "[stack")) {
which_heap = HEAP_NATIVE;
which_heap = HEAP_STACK;
} else if (base::EndsWith(name, ".so")) {
which_heap = HEAP_SO;
is_swappable = true;