diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 20:39:03 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 20:39:03 +0000 |
commit | d6b7266a83b8fffe30fd79c9ebe7c155cb5b687d (patch) | |
tree | c291b8126db8ae1ca3b3a424a2549524bb673ffc /webkit | |
parent | 86230b9e9dcd8731ddbc3bb0acd257837789d704 (diff) | |
download | chromium_src-d6b7266a83b8fffe30fd79c9ebe7c155cb5b687d.zip chromium_src-d6b7266a83b8fffe30fd79c9ebe7c155cb5b687d.tar.gz chromium_src-d6b7266a83b8fffe30fd79c9ebe7c155cb5b687d.tar.bz2 |
DevTools: display DOM calls in CPU profiles.
This patch only allows the corresponding log entries to be processed
and displayed. In order to have those entries in the log, a newer
version of V8 is needed.
BUG=27613
TEST=none
Review URL: http://codereview.chromium.org/434008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/devtools/js/profiler_processor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/devtools/js/profiler_processor.js b/webkit/glue/devtools/js/profiler_processor.js index 012605cc..5277377 100644 --- a/webkit/glue/devtools/js/profiler_processor.js +++ b/webkit/glue/devtools/js/profiler_processor.js @@ -60,7 +60,7 @@ goog.inherits(devtools.profiler.WebKitViewNode, * RegEx for stripping V8's prefixes of compiled functions. */ devtools.profiler.WebKitViewNode.FUNC_NAME_STRIP_RE = - /^(?:LazyCompile|Function): (.*)$/; + /^(?:LazyCompile|Function|Callback): (.*)$/; /** @@ -113,7 +113,7 @@ goog.inherits(devtools.profiler.JsProfile, devtools.profiler.Profile); * RegExp that leaves only JS functions. * @type {RegExp} */ -devtools.profiler.JsProfile.JS_FUNC_RE = /^(LazyCompile|Function|Script):/; +devtools.profiler.JsProfile.JS_FUNC_RE = /^(LazyCompile|Function|Script|Callback):/; /** * RegExp that filters out native code (ending with "native src.js:xxx"). |