mirror of
https://github.com/gperftools/gperftools
synced 2025-01-24 16:03:04 +00:00
Add comment about gperftools 2.8 not deduplicating heapz samples.
This commit is contained in:
parent
63a12a5ed3
commit
49dbe4362b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user