| Index: third_party/tcmalloc/chromium/src/heap-profiler.cc
|
| diff --git a/third_party/tcmalloc/chromium/src/heap-profiler.cc b/third_party/tcmalloc/chromium/src/heap-profiler.cc
|
| index 512dc7cd33139b22b47c0ad3218aa6b1ec94cdb3..9647c9b6a794a9dc83ee4906da4096d21fa4aafc 100644
|
| --- a/third_party/tcmalloc/chromium/src/heap-profiler.cc
|
| +++ b/third_party/tcmalloc/chromium/src/heap-profiler.cc
|
| @@ -620,6 +620,20 @@ extern "C" void HeapProfilerDumpAliveObjects(const char* filename) {
|
| heap_profile->DumpMarkedObjects(HeapProfileTable::MARK_TWO, filename);
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| +extern "C" void HeapProfilerSetTimeInterval(int time_interval) {
|
| + FLAGS_heap_profile_time_interval = static_cast<int64>(time_interval);
|
| +}
|
| +
|
| +extern "C" void HeapProfilerSetMmapProfile(bool mmap_profile) {
|
| + FLAGS_mmap_profile = mmap_profile;
|
| +}
|
| +
|
| +extern "C" void HeapProfilerSetDeepHeapProfile(bool deep_heap_profile) {
|
| + FLAGS_deep_heap_profile = deep_heap_profile;
|
| +}
|
| +#endif // defined(OS_ANDROID)
|
| +
|
| //----------------------------------------------------------------------
|
| // Initialization/finalization code
|
| //----------------------------------------------------------------------
|
|
|