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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py

Issue 440903003: Add RECORD_AS_MUCH_AS_POSSIBLE mode to TraceOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py b/tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py
index d556febe29184d32ba5ace476e3272e38dcf2d40..6563dbbdce81c57267f6515ab33128028b14cff2 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py
@@ -136,8 +136,9 @@ class TracingBackend(object):
self._CheckNotificationSupported()
nduca 2014/08/05 22:50:31 instead of this, land the c+++ changes without any
nednguyen 2014/08/05 23:05:40 Done.
req = {'method': 'Tracing.start'}
self._category_filter = CategoryFilter(custom_categories)
+ req['params'] = [{'options': 'record-as-much-as-possible'}]
if custom_categories:
- req['params'] = {'categories': custom_categories}
+ req['params'].append({'categories': custom_categories})
self._inspector_websocket.SyncRequest(req, timeout)
self._is_tracing_running = True
return True

Powered by Google App Engine
This is Rietveld 408576698