From: Alex Rousskov Date: Tue, 12 Apr 2011 18:56:40 +0000 (-0600) Subject: Polished debugging. X-Git-Tag: take06~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e92017a5ea407975e20094e864bbe4790ceb071;p=thirdparty%2Fsquid.git Polished debugging. --- diff --git a/src/ipc/StoreMap.cc b/src/ipc/StoreMap.cc index 1103477595..ec300446dd 100644 --- a/src/ipc/StoreMap.cc +++ b/src/ipc/StoreMap.cc @@ -16,7 +16,7 @@ Ipc::StoreMap::StoreMap(const char *const aPath, const int limit, const size_t mySharedSize = Shared::MemSize(limit); shm.create(mySharedSize + sharedSizeExtra); shared = new (shm.reserve(mySharedSize)) Shared(limit); - debugs(54, 5, HERE << "new map [" << path << "] created"); + debugs(54, 5, HERE << "new map [" << path << "] created: " << limit); } Ipc::StoreMap::StoreMap(const char *const aPath): @@ -27,7 +27,7 @@ Ipc::StoreMap::StoreMap(const char *const aPath): shared = reinterpret_cast(shm.mem()); // check that nobody used our segment chunk and that shared->limit is sane assert(shared == reinterpret_cast(shm.reserve(Shared::MemSize(shared->limit)))); - debugs(54, 5, HERE << "attached map [" << path << "] created"); + debugs(54, 5, HERE << "attached map [" << path << "] created: " << shared->limit); } Ipc::StoreMap::Slot *