platform_system_core/libmeminfo/include/meminfo
Sandeep Patil dfd34be42b meminfo: Add IsSmapsRollupSupported Api
Consolidate the checking of /proc/<pid>/smaps_rollup support
in libmeminfo and do it in a thread safe way.

Use the API in ProcMemInfo as well to eliminate the extra
parameters passed to SmapsOrRollup* methods.

Bug: 111694435
Test: libmeminfo_test 1 --gtest_filter=TestProcMemInfo.IsSmapsSupportedTest
Test: Tested with and without the smaps_rollup support in kernel.

Change-Id: I992057f06b54569025fa0cdade9618da2675d1de
Merged-In: I992057f06b54569025fa0cdade9618da2675d1de
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-14 09:43:32 -08:00
..
meminfo.h meminfo: Remove unnecessary working set stats 2019-01-14 09:42:50 -08:00
pageacct.h libmeminfo: Add libmeminfo to gather global and per-process memory stats 2018-11-05 10:42:46 -08:00
procmeminfo.h meminfo: Add IsSmapsRollupSupported Api 2019-01-14 09:43:32 -08:00
sysmeminfo.h meminfo: Add ReadVmallocInfo() 2019-01-07 09:41:55 -08:00