| Index: third_party/tcmalloc/chromium/src/heap-profile-table.h
|
| diff --git a/third_party/tcmalloc/chromium/src/heap-profile-table.h b/third_party/tcmalloc/chromium/src/heap-profile-table.h
|
| index c2ad39f9138f4049fc9de2e45a385a8e1819e687..5efa8b559b10bf22b5cf120203e2d2fbcbe2151c 100644
|
| --- a/third_party/tcmalloc/chromium/src/heap-profile-table.h
|
| +++ b/third_party/tcmalloc/chromium/src/heap-profile-table.h
|
| @@ -177,6 +177,10 @@ class HeapProfileTable {
|
| // size of allocated space.
|
| void IterateOrderedAllocContexts(AllocContextIterator callback) const;
|
|
|
| + // Turn off generation of profile data from /proc/self/maps. This data is
|
| + // not needed by profiles generated with pseudo-stacks.
|
| + void DisableProfileSelfMaps();
|
| +
|
| // Fill profile data into buffer 'buf' of size 'size'
|
| // and return the actual size occupied by the dump in 'buf'.
|
| // The profile buckets are dumped in the decreasing order
|
| @@ -457,6 +461,9 @@ class HeapProfileTable {
|
|
|
| bool profile_mmap_;
|
|
|
| + // Should /proc/self/maps information be included in the profile?
|
| + bool profile_self_maps_;
|
| +
|
| // Bucket hash table for malloc.
|
| // We hand-craft one instead of using one of the pre-written
|
| // ones because we do not want to use malloc when operating on the table.
|
|
|