shmmonitor: add --list-all

This commit is contained in:
Alexey Rybalchenko
2021-04-07 09:12:33 +02:00
parent 0f3f60e815
commit 8362bd2cb4
3 changed files with 40 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ class Monitor
static std::unordered_map<uint16_t, std::vector<BufferDebugInfo>> GetDebugInfo(const SessionId& shmId);
static bool PrintShm(const ShmId& shmId);
static void ListAll(const std::string& path);
static bool RemoveObject(const std::string& name);
static bool RemoveFileMapping(const std::string& name);