Index: third_party/tcmalloc/chromium/src/deep-heap-profile.cc |
diff --git a/third_party/tcmalloc/chromium/src/deep-heap-profile.cc b/third_party/tcmalloc/chromium/src/deep-heap-profile.cc |
index f89d8ce90e3c7d8f267aa2222be281cb9319fefa..affded1b1b6fe4f37ce9f4c59728ac9fe83c008d 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__) |
@@ -743,8 +734,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( |
@@ -778,8 +767,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( |