summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@google.com>2015-02-05 13:43:27 -0800
committerPeter Kasting <pkasting@google.com>2015-02-05 21:45:28 +0000
commit650180680cc05b5771628d502bc6803a1d8997ad (patch)
tree54f97d086ed1ffd10574926b498330016f2bfec9 /chrome/service
parent7fcb729df6369250da0eccb113a64073e272de39 (diff)
downloadchromium_src-650180680cc05b5771628d502bc6803a1d8997ad.zip
chromium_src-650180680cc05b5771628d502bc6803a1d8997ad.tar.gz
chromium_src-650180680cc05b5771628d502bc6803a1d8997ad.tar.bz2
Adding instrumentation to locate the source of jankiness.
Mechanical change that adds instrumentation required to locate the source of jankiness (i.e. a long-running fragment of code executed as a part of the task that causes jank) in the code. See the bug for details on what kind of jank we are after. A number of similar CLs were landed, and none of them caused issues. The code of the instrumentation is highly optimized and is not expected to affect performance. The code simply creates a diagnostic task which is identical to ones created by PostTask or IPC message handlers. This also updates the existing instrumentation for bug 418183 to include the bug number everywhere. BUG=418183,455423,455434,455469 TEST=none R=vadimt@chromium.org TBR=jochen, mmenke, rockot, thestig Review URL: https://codereview.chromium.org/901773002 Cr-Commit-Position: refs/heads/master@{#314885}
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/cloud_print/print_system_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index 2d78735..b9aa994 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -92,7 +92,7 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
// TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is fixed.
tracked_objects::ScopedTracker tracking_profile(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "PrintSystemWatcherWin_OnObjectSignaled"));
+ "418183 PrintSystemWatcherWin::OnObjectSignaled"));
crash_keys::ScopedPrinterInfo crash_key(printer_info_);
DWORD change = 0;