]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: MemoryModel: do not discard memory mappings marked [stack]
authorRonen Friedman <rfriedma@redhat.com>
Tue, 18 Jun 2024 14:59:07 +0000 (09:59 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 18 Jun 2024 14:59:07 +0000 (09:59 -0500)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/MemoryModel.cc

index b9bc0511a0621427c8b62d0ab1126bef69e89e3b..0f659aca95830e0b36385a97da790372a81c7527 100644 (file)
@@ -89,11 +89,6 @@ tl::expected<int64_t, std::string> MemoryModel::get_mapped_heap()
       continue;
     }
 
-    if (the_rest.ends_with("[stack]")) {
-      // should we really exclude the stack?
-      continue;
-    }
-
     std::string_view final_token{the_rest.begin() + sizeof("00000000 00:00 0") - 1,
                                  the_rest.end()};
     if (final_token.size() < 3 ||