summaryrefslogtreecommitdiff
path: root/src/mongo/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util')
-rw-r--r--src/mongo/util/tcmalloc_server_status_section.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mongo/util/tcmalloc_server_status_section.cpp b/src/mongo/util/tcmalloc_server_status_section.cpp
index 303076ba784..c215956c0b3 100644
--- a/src/mongo/util/tcmalloc_server_status_section.cpp
+++ b/src/mongo/util/tcmalloc_server_status_section.cpp
@@ -156,6 +156,23 @@ public:
appendNumericPropertyIfAvailable(
sub, "aggressive_memory_decommit", "tcmalloc.aggressive_memory_decommit");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_committed_bytes", "tcmalloc.pageheap_committed_bytes");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_scavenge_count", "tcmalloc.pageheap_scavenge_count");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_commit_count", "tcmalloc.pageheap_commit_count");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_total_commit_bytes", "tcmalloc.pageheap_total_commit_bytes");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_decommit_count", "tcmalloc.pageheap_decommit_count");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_total_decommit_bytes", "tcmalloc.pageheap_total_decommit_bytes");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_reserve_count", "tcmalloc.pageheap_reserve_count");
+ appendNumericPropertyIfAvailable(
+ sub, "pageheap_total_reserve_bytes", "tcmalloc.pageheap_total_reserve_bytes");
+
#if MONGO_HAVE_GPERFTOOLS_SIZE_CLASS_STATS
if (verbosity >= 2) {
// Size class information