Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: base/base_switches.cc

Issue 2695013005: Only enable heap tracking under --enable-heap-profiling=task-profiler. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/base_switches.cc
diff --git a/base/base_switches.cc b/base/base_switches.cc
index f5c6eb3f59bb78f81f313436c11e8609efadd8a1..b6d4c72a207ce366e81cb9449ef6f64f9d8cfd8a 100644
--- a/base/base_switches.cc
+++ b/base/base_switches.cc
@@ -24,6 +24,9 @@ const char kEnableHeapProfiling[] = "enable-heap-profiling";
// derived from trace events are reported.
const char kEnableHeapProfilingModeNative[] = "native";
+// Report heap usage and churn in the task profiler (chrome://profiler).
Primiano Tucci (use gerrit) 2017/02/15 14:18:03 can you add: "Does not keep track of individual al
Sigurður Ásgeirsson 2017/02/15 15:35:45 Done.
+const char kEnableHeapProfilingTaskProfiler[] = "task-profiler";
+
// Generates full memory crash dump.
const char kFullMemoryCrashReport[] = "full-memory-crash-report";

Powered by Google App Engine
This is Rietveld 408576698