Index: base/trace_event/memory_dump_manager.h |
diff --git a/base/trace_event/memory_dump_manager.h b/base/trace_event/memory_dump_manager.h |
index 6c71a247a68aad73f143ca5b9af3cd336574192d..9cadf3730ed3cbc3a37540fb414cc9aa9d85c5da 100644 |
--- a/base/trace_event/memory_dump_manager.h |
+++ b/base/trace_event/memory_dump_manager.h |
@@ -126,15 +126,14 @@ class BASE_EXPORT MemoryDumpManager { |
void RequestGlobalDump(MemoryDumpType dump_type, |
MemoryDumpLevelOfDetail level_of_detail); |
- // Prepare MemoryDumpManager for RequestGlobalMemoryDump calls. |
- // Starts the MemoryDumpManager thread. |
- // Also uses the given config to initialize the peak detector, |
- // scheduler and heap profiler. |
- void Enable(const TraceConfig::MemoryDumpConfig&); |
- |
- // Tearsdown the MemoryDumpManager thread and various other state set up by |
- // Enable. |
- void Disable(); |
+ // Prepare MemoryDumpManager for RequestGlobalMemoryDump calls for tracing |
+ // related modes (non-SUMMARY_ONLY). |
+ // Initializes the peak detector, scheduler and heap profiler with the given |
+ // config. |
+ void SetupForTracing(const TraceConfig::MemoryDumpConfig&); |
+ |
+ // Tear-down tracing related state. |
Primiano Tucci (use gerrit)
2017/05/09 12:34:11
maybe just clarify in the comment that the all the
|
+ void TeardownForTracing(); |
// NOTE: Use RequestGlobalDump() to create memory dumps. Creates a memory dump |
// for the current process and appends it to the trace. |callback| will be |