summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authordmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 15:49:54 +0000
committerdmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 15:49:54 +0000
commitd0d1bcbae0fbf648f549b1d397eb6575d91777b9 (patch)
treee0c6dfa5e00b70ab1300712b27ae395449c46cbb /third_party
parentb4c6a042c3f5661a0a454acd49f48bd35afb35bb (diff)
downloadchromium_src-d0d1bcbae0fbf648f549b1d397eb6575d91777b9.zip
chromium_src-d0d1bcbae0fbf648f549b1d397eb6575d91777b9.tar.gz
chromium_src-d0d1bcbae0fbf648f549b1d397eb6575d91777b9.tar.bz2
Breakdown "unhooked" memory regions by VMA pathnames and permissions.
BUG=244163 R=bulach@chromium.org, glider@chromium.org, peria@chromium.org Review URL: https://codereview.chromium.org/15511005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/tcmalloc/chromium/src/deep-heap-profile.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/third_party/tcmalloc/chromium/src/deep-heap-profile.cc b/third_party/tcmalloc/chromium/src/deep-heap-profile.cc
index b5d4821..5e58941 100644
--- a/third_party/tcmalloc/chromium/src/deep-heap-profile.cc
+++ b/third_party/tcmalloc/chromium/src/deep-heap-profile.cc
@@ -41,15 +41,6 @@ static const char kProcSelfMapsHeader[] = "\nMAPPED_LIBRARIES:\n";
static const char kVirtualLabel[] = "virtual";
static const char kCommittedLabel[] = "committed";
-const char* DeepHeapProfile::kMapsRegionTypeDict[] = {
- "absent",
- "anonymous",
- "file-exec",
- "file-nonexec",
- "stack",
- "other",
-};
-
namespace {
#if defined(__linux__)
@@ -767,8 +758,6 @@ void DeepHeapProfile::GlobalStats::SnapshotMaps(
mmap_dump_buffer->AppendString(" - ", 0);
mmap_dump_buffer->AppendPtr(last_address_of_unhooked + 1, 0);
mmap_dump_buffer->AppendString(" unhooked ", 0);
- mmap_dump_buffer->AppendString(kMapsRegionTypeDict[type], 0);
- mmap_dump_buffer->AppendString(" ", 0);
mmap_dump_buffer->AppendInt64(committed_size, 0);
mmap_dump_buffer->AppendString(" / ", 0);
mmap_dump_buffer->AppendInt64(
@@ -802,8 +791,6 @@ void DeepHeapProfile::GlobalStats::SnapshotMaps(
mmap_dump_buffer->AppendPtr(mmap_iter->end_addr, 0);
mmap_dump_buffer->AppendString(continued ? ")" : " ", 0);
mmap_dump_buffer->AppendString(" hooked ", 0);
- mmap_dump_buffer->AppendString(kMapsRegionTypeDict[type], 0);
- mmap_dump_buffer->AppendString(" ", 0);
mmap_dump_buffer->AppendInt64(committed_size, 0);
mmap_dump_buffer->AppendString(" / ", 0);
mmap_dump_buffer->AppendInt64(