diff options
author | haraken@chromium.org <haraken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-28 06:04:28 +0000 |
---|---|---|
committer | haraken@chromium.org <haraken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-28 06:04:28 +0000 |
commit | 462ceb0a79acbd01421795bf2391643ca6d73f78 (patch) | |
tree | 5524511c651043c49986d3b5669b7d9305cc6c98 /content/app | |
parent | f5f22386b9413ce39b7e3cc7e718f652969f01e2 (diff) | |
download | chromium_src-462ceb0a79acbd01421795bf2391643ca6d73f78.zip chromium_src-462ceb0a79acbd01421795bf2391643ca6d73f78.tar.gz chromium_src-462ceb0a79acbd01421795bf2391643ca6d73f78.tar.bz2 |
Implement sampling profiler (chromium side change)
Trace-viewer side change is here: https://codereview.appspot.com/39310043
Screenshot of the profiler: http://haraken.info/null/sampling_tracing.png
Design document: https://docs.google.com/a/google.com/document/d/1j39sbA9ECTwFFlxbhSD1EvJnGfYeS5EUJ05yxuku6VY/edit
TBR=phajdan.jr
NOTRY=true
Review URL: https://codereview.chromium.org/109933006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app')
-rw-r--r-- | content/app/content_main_runner.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index 33bb2a3..f59f177 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -671,6 +671,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { command_line.GetSwitchValueASCII(switches::kTraceStartup)); base::debug::TraceLog::GetInstance()->SetEnabled( category_filter, + base::debug::TraceLog::RECORDING_MODE, base::debug::TraceLog::RECORD_UNTIL_FULL); } #if !defined(OS_ANDROID) |