platform_system_core/libmeminfo
Sandeep Patil a42207e2e3 procrank: do not keep process maps around
procrank's usage in its output shows 20x increase from
last year. This is because it is keeping the process
maps around until termination. Fix that by getting rid
of ProcMemInfo objects when done parsing /proc/<pid>/maps,pagemap.

Note that the total allocations do not change and have not necessarily
regressed from Pie.

Bug: 130672819
Test: adb shell procrank | grep 'procrank\|cmdline'

Change-Id: Ib7bf960ed1d053347fcfc0c8aee9019607a1eb01
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-04-17 12:11:50 -07:00
..
include/meminfo meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
libdmabufinfo Merge "procinfo: Read inode number from /proc/<pid>/maps" 2019-02-15 23:03:00 +00:00
testdata1 meminfo: Add Smaps(), showmap and friends. 2019-01-08 17:08:10 -08:00
testdata2 libmeminfo: Add support to read zram memory consumption 2018-12-04 15:59:39 -08:00
tools procrank: do not keep process maps around 2019-04-17 12:11:50 -07:00
vts Don't abort the build if a repo doesn't have the test/vts/tools/build/. 2019-02-08 08:47:12 +00:00
.clang-format libmeminfo: Add libmeminfo to gather global and per-process memory stats 2018-11-05 10:42:46 -08:00
Android.bp meminfo: Remove libpagemap dependency 2019-01-28 15:05:52 -08:00
libmeminfo_benchmark.cpp meminfo: Pull ReadVmallocInfo() out of the SysMemInfo class. 2019-01-22 14:06:01 -08:00
libmeminfo_test.cpp meminfo: Remove libpagemap dependency 2019-01-28 15:05:52 -08:00
meminfo_private.h libmeminfo: Add libmeminfo to gather global and per-process memory stats 2018-11-05 10:42:46 -08:00
OWNERS Add OWNERS file 2018-12-07 09:29:03 -08:00
pageacct.cpp meminfo: Add API to read pagemap for a vma within a process. 2019-01-21 17:24:54 -08:00
procmeminfo.cpp procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
sysmeminfo.cpp meminfo: Pull ReadVmallocInfo() out of the SysMemInfo class. 2019-01-22 14:06:01 -08:00