summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-09-11 18:42:30 -0400
committerMathias Stearn <mathias@10gen.com>2015-09-11 18:42:30 -0400
commitd03334dfa87386feef4b8331f0e183d80495808c (patch)
tree6ffa35bfbb1aee0d7789b0ad6856c5a42410d586
parent2dabe550f780dcd365de15ddd7644a50fe78cc20 (diff)
downloadmongo-d03334dfa87386feef4b8331f0e183d80495808c.tar.gz
SERVER-19941 enable tcmalloc ServerStatusSection by default
-rw-r--r--src/mongo/util/tcmalloc_server_status_section.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/tcmalloc_server_status_section.cpp b/src/mongo/util/tcmalloc_server_status_section.cpp
index 1da1c5a96c1..20b1b36495a 100644
--- a/src/mongo/util/tcmalloc_server_status_section.cpp
+++ b/src/mongo/util/tcmalloc_server_status_section.cpp
@@ -74,7 +74,7 @@ class TCMallocServerStatusSection : public ServerStatusSection {
public:
TCMallocServerStatusSection() : ServerStatusSection("tcmalloc") {}
virtual bool includeByDefault() const {
- return false;
+ return true;
}
virtual BSONObj generateSection(OperationContext* txn, const BSONElement& configElement) const {