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

am: af3b9aa39d

Change-Id: I1574c5a6d181abe51b3f9d642885c566b691dac6
This commit is contained in:
Sandeep Patil
2019-05-31 14:07:59 -07:00
committed by android-build-merger

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;