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

Unified Diff: chrome/browser/lifetime/application_lifetime.cc

Issue 109933006: Implement sampling profiler (chromium side change) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: All comments addressed Created 7 years 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: chrome/browser/lifetime/application_lifetime.cc
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc
index 2185d611d213289b5160efad60f1ae13f7974727..05eb20dd9a8c6acb8f7f0ac42fb8f4049f4d0de1 100644
--- a/chrome/browser/lifetime/application_lifetime.cc
+++ b/chrome/browser/lifetime/application_lifetime.cc
@@ -188,6 +188,7 @@ void StartShutdownTracing() {
command_line.GetSwitchValueASCII(switches::kTraceShutdown));
base::debug::TraceLog::GetInstance()->SetEnabled(
category_filter,
+ base::debug::TraceLog::RECORDING_MODE,
base::debug::TraceLog::RECORD_UNTIL_FULL);
}
TRACE_EVENT0("shutdown", "StartShutdownTracing");

Powered by Google App Engine
This is Rietveld 408576698