shm: Add size to UnmanagedRegion debug output

This commit is contained in:
Alexey Rybalchenko
2022-01-30 12:41:08 +01:00
parent ad894c79cf
commit 4f9aeda8ec
3 changed files with 8 additions and 4 deletions

View File

@@ -267,6 +267,7 @@ bool Monitor::PrintShm(const ShmId& shmId)
ss << "\n unmanaged regions:";
for (const auto& r : *shmRegions) {
ss << "\n [" << r.first << "]: " << (r.second.fDestroyed ? "destroyed" : "alive");
ss << ", size: " << r.second.fSize;
try {
boost::interprocess::message_queue q(open_only, std::string("fmq_" + std::string(shmId) + "_rgq_" + to_string(r.first)).c_str());