Add a flag to distinguish shared VMAs

This flag is required to filter out shared VMAs when compacting memory
using process_madvise.

Test: built and flashed
Bug: 173258203

Change-Id: Ie664aaf3708f94b188310166f56f85ee3ee05378
diff --git a/process_map_benchmark.cpp b/process_map_benchmark.cpp
index eba4fd0..5a26302 100644
--- a/process_map_benchmark.cpp
+++ b/process_map_benchmark.cpp
@@ -32,10 +32,8 @@
   std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps";
   for (auto _ : state) {
     std::vector<android::procinfo::MapInfo> maps;
-    android::procinfo::ReadMapFile(map_file, [&](uint64_t start, uint64_t end, uint16_t flags,
-                                                 uint64_t pgoff, ino_t inode, const char* name) {
-      maps.emplace_back(start, end, flags, pgoff, inode, name);
-    });
+    android::procinfo::ReadMapFile(
+        map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); });
     CHECK_EQ(maps.size(), 2043u);
   }
 }