From: Ronen Friedman Date: Tue, 18 Jun 2024 14:59:07 +0000 (-0500) Subject: common: MemoryModel: do not discard memory mappings marked [stack] X-Git-Tag: v20.0.0~1349^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F58115%2Fhead;p=ceph.git common: MemoryModel: do not discard memory mappings marked [stack] Signed-off-by: Ronen Friedman --- diff --git a/src/common/MemoryModel.cc b/src/common/MemoryModel.cc index b9bc0511a062..0f659aca9583 100644 --- a/src/common/MemoryModel.cc +++ b/src/common/MemoryModel.cc @@ -89,11 +89,6 @@ tl::expected 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 ||