summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alkondratenko@gmail.com>2018-09-03 16:44:52 -0700
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2018-09-03 16:44:52 -0700
commit49dbe4362b431629111b85929d91fe9a46c42295 (patch)
tree3f42de4c573f6c9f205deef4b1e283b567764709
parent63a12a5ed3c4aca61cc46078b6cdf1d161425a69 (diff)
downloadgperftools-49dbe4362b431629111b85929d91fe9a46c42295.tar.gz
Add comment about gperftools 2.8 not deduplicating heapz samples.
-rw-r--r--src/gperftools/malloc_extension.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gperftools/malloc_extension.h b/src/gperftools/malloc_extension.h
index 689b5f1..1800266 100644
--- a/src/gperftools/malloc_extension.h
+++ b/src/gperftools/malloc_extension.h
@@ -123,6 +123,10 @@ class PERFTOOLS_DLL_DECL MallocExtension {
// therefore be passed to "pprof". This function is equivalent to
// ReadStackTraces. The main difference is that this function returns
// serialized data appropriately formatted for use by the pprof tool.
+ //
+ // Since gperftools 2.8 heap samples are not de-duplicated by the
+ // library anymore.
+ //
// NOTE: by default, tcmalloc does not do any heap sampling, and this
// function will always return an empty sample. To get useful
// data from GetHeapSample, you must also set the environment