platform_system_core/libmeminfo
Erick Reyes 302a259fa9 meminfo: handle multiple buffer references in dmabufinfo
Change the dmabufinfo library to handle multiple references to the same
buffer across PIDs by doing these changes:

- Add function AppendDmaBufInfo: appends the information for a specific
PID to an existing DmaBuffer vector
- Change the way fd/map references to a buffer belonging to a PID are
stored in DmaBuffer from vector<pid_t> to unorderedmap<pid_t, int>
- When parsing proc/%pid/{maps|fds}, look up the buffer by inode and
update the data if found

Test: builds
Bug: 63860998

Change-Id: If22feea772f182086ae3446b46d626a750674b1f
Signed-off-by: Erick Reyes <erickreyes@google.com>
2019-01-29 17:52:34 -08:00
..
include/meminfo meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
libdmabufinfo meminfo: handle multiple buffer references in dmabufinfo 2019-01-29 17:52:34 -08: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 meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
.clang-format libmeminfo: Add libmeminfo to gather global and per-process memory stats 2018-11-05 10:42:46 -08:00
Android.bp libmeminfo: Add support to read zram memory consumption 2018-12-04 15:59:39 -08:00
libmeminfo_benchmark.cpp meminfo: Pull ReadVmallocInfo() out of the SysMemInfo class. 2019-01-22 14:06:01 -08:00
libmeminfo_test.cpp Merge "meminfo: Pull ReadVmallocInfo() out of the SysMemInfo class." 2019-01-23 05:17:16 +00: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 meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
sysmeminfo.cpp meminfo: Pull ReadVmallocInfo() out of the SysMemInfo class. 2019-01-22 14:06:01 -08:00