diff options
Diffstat (limited to 'third_party/tcmalloc/vendor/doc/heapprofile.html')
-rw-r--r-- | third_party/tcmalloc/vendor/doc/heapprofile.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/third_party/tcmalloc/vendor/doc/heapprofile.html b/third_party/tcmalloc/vendor/doc/heapprofile.html index c857df1..8dac2eb 100644 --- a/third_party/tcmalloc/vendor/doc/heapprofile.html +++ b/third_party/tcmalloc/vendor/doc/heapprofile.html @@ -108,15 +108,10 @@ environment variables.</p> <td><code>HEAP_PROFILE_MMAP</code></td> <td>default: false</td> <td> - Profile <code>mmap</code>, <code>mremap</code> and <code>sbrk</code> - calls in addition - to <code>malloc</code>, <code>calloc</code>, <code>realloc</code>, - and <code>new</code>. <b>NOTE:</b> this causes the profiler to - profile calls internal to tcmalloc, since tcmalloc and friends use - mmap and sbrk internally for allocations. One partial solution is - to filter these allocations out when running <code>pprof</code>, - with something like - <code>pprof --ignore='DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc</code>. + Profile <code>mmap</code>, <code>mremap</code>, and <code>sbrk</code> + calls in addition to + <code>malloc</code>, <code>calloc</code>, <code>realloc</code>, + and <code>new</code>. </td> </tr> |